Sometimes vue3 downloading vuex
will not generate a store file, so you need to write it yourself
import { createStore } from 'vuex'
export default createStore({
state: {
},
mutations: {
},
actions: {
},
modules: {
}
})
Sometimes vue3 downloading vuex
will not generate a store file, so you need to write it yourself
import { createStore } from 'vuex'
export default createStore({
state: {
},
mutations: {
},
actions: {
},
modules: {
}
})