python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
using pinia states and dexie in the same time?
For my app I'm using Vue3, pinia for state management, and dexie as indexedDB wrapper.
my app work this way:
on Mount :
data is fetched from dexie and saved in a pinia state.
then in my component , da...
Lassaad
Votes: 0
Answers: 0
Vue Pinia access other function in getters with arrow functions
example store
getters: {
setName: (state) => (string: string) => {
state.user.username = string;
},
setUser: (state) => {
setName('Tom'); // setName is undefined.
...
tony
Votes: 0
Answers: 1
Cypress using actions from Pinia Vue3
I was learning some cypress from this video: https://www.youtube.com/watch?v=03kG2rdJYtc
I'm interested with he's saying at 29:33: "programatic login"
But he's using vue2 and Vuex.
My projec...
Marc Pont
Votes: 0
Answers: 1
Vue Pinia function is undefined in onMounted when unit test is ran
I have a component and a Pinia store which contains a state and some actions. The code works perfectly fine in browser and in E2E (cypress) tests, but fail on unit tests. I'm using vue-testing-utils a...
Josh Larminay
Votes: 0
Answers: 2