Commit 08923697 authored by Filipa Lacerda's avatar Filipa Lacerda

Fix example in Vuex docs

parent 4371f845
...@@ -507,6 +507,7 @@ This is the entry point for our store. You can use the following as a guide: ...@@ -507,6 +507,7 @@ This is the entry point for our store. You can use the following as a guide:
import Vue from 'vue'; import Vue from 'vue';
import Vuex from 'vuex'; import Vuex from 'vuex';
import * as actions from './actions'; import * as actions from './actions';
import * as getters from './getters';
import * as mutations from './mutations'; import * as mutations from './mutations';
Vue.use(Vuex); Vue.use(Vuex);
...@@ -514,6 +515,7 @@ Vue.use(Vuex); ...@@ -514,6 +515,7 @@ Vue.use(Vuex);
export default new Vuex.Store({ export default new Vuex.Store({
actions, actions,
getters, getters,
mutations,
state: { state: {
users: [], users: [],
}, },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment