mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-09-29 16:57:06 +08:00
chore: add getters:{} to cli-plugin-vuex template (#6753)
This commit is contained in:
@@ -3,6 +3,8 @@ import { createStore } from 'vuex'
|
||||
export default createStore({
|
||||
state: {
|
||||
},
|
||||
getters: {
|
||||
},
|
||||
mutations: {
|
||||
},
|
||||
actions: {
|
||||
|
||||
@@ -6,6 +6,8 @@ Vue.use(Vuex)
|
||||
export default new Vuex.Store({
|
||||
state: {
|
||||
},
|
||||
getters: {
|
||||
},
|
||||
mutations: {
|
||||
},
|
||||
actions: {
|
||||
|
||||
Reference in New Issue
Block a user