All Questions
65
questions
0
votes
0
answers
61
views
Updating chart data realtime from separate component
I'm pretty new to vue-chartjs and chartjs in general but I have a nuxt app (with electron) which is supposed to render the graph data live. Right now I just have sample data with an event listener ...
0
votes
0
answers
32
views
How to utilize a nested object for a prepopulated Vuetify form
I have started to use typescript to try and build more consistent models which are requested and sent to my API endpoints. However, I am struggling with using these complex object types as models for ...
0
votes
1
answer
34
views
How can I pass the information from inside a "socket.on" listener to a pinia data store?
I am making a data store, the data store listens to a server using "socket.on", I can see from the console that the data correctly arrives in the "socket.on". However, when I try ...
-1
votes
1
answer
45
views
Can't reset Reactive with value is array
I got a problem, when i create an array
initial Reactive()
And I want it reset whenever Type change.
reset function
But not working.
Anyone has solution, please let me know, and can u please ...
0
votes
0
answers
104
views
[Vue warn]: Maximum recursive updates exceeded in component
In my Vue/Quasar project I am trying to fetch data from a server before rendering a component. Within this component I have a that uses the fetched data as rows. The data fetch takes place in a Pinia ...
2
votes
1
answer
374
views
Vue 3 data not retreactive
i've been trying to upgrade from Vue 2 to 3 for months and I'm having trouble with a data property not being reactive. The parent component has this:
<component
:class="parentBlock....
0
votes
1
answer
143
views
Why does non-reactive variable behave strange in Vue3?
Here is the code
<template>
<input type="button" value="click" @click="clickBtn"/>
<div id="reactiveDiv">{{ reactiveVariable }}</div>...
1
vote
1
answer
574
views
Pinia error: "getActivePinia()" was called but there was no active Pinia. Did you forget to install pinia?
Even though I have an action that changes the 'pending' state depending on if the data was already fetched (which makes it already reactive), when I use it inside of the component, reactivity doesn't ...
1
vote
2
answers
398
views
Vue 3 external state reactivity
I have a pattern I use to try to keep as much logic (unit tests, data fetching, etc.) in vanilla js and use Vue to handle the rendering or any other functionality only possible in the framework. That ...
1
vote
1
answer
757
views
Vue 3 and Window object reactivity
I'm facing an issue I'm not able to solve, so I need some help!
Problem
I would like to listen up changes on location.href value.
How could I detect changes in window.location object?
I need to create ...
0
votes
1
answer
18
views
Reactive value not updating based on dependent value
I have a project of Roles and Permission in Laravel API based with Vue.js frontend. In Add Roles page if clicking the "All" checkbox, all roles are checked but no data appears in ...
0
votes
1
answer
161
views
Why the result of VueUse.useMouse() without reactive?
I use VueUse.useMouse(), when I moving mouse, the results in console.log() will change, but the results in <span></span> always 0, I really can't understand, can anyone tell me why ? 😫😫😫...
1
vote
1
answer
322
views
Vue's reactiv with classes
I want to wrap a class object in reactive, so i can trigger my methods which works on the attributes and the latest values of the attributes are displayed.
For example on this Example Code:
<script ...
0
votes
1
answer
821
views
Vue3 Dynamic Component Return Props
Messing around with Vue3's Dynamic Component <component>, and I have this current setup:
Component 1:
<template>
<div>
<h1> Input name: </h2>
<Input :model=&...
2
votes
0
answers
427
views
Handling reactive typescript objects in vue 3 that contain Refs
I am trying to use the Composition API of vue 3, and struggle to handle reactive typescript objects. As I understand from the documentation, when you make an object reactive, vue wraps it and all ...