Commit fcf34e28 authored by Phil Hughes's avatar Phil Hughes

Merge branch 'docs-fix-vuex-store-example' into 'master'

Fix example in Vuex docs

See merge request gitlab-org/gitlab-ce!17415
parents 4371f845 08923697
No related merge requests found
......@@ -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 Vuex from 'vuex';
import * as actions from './actions';
import * as getters from './getters';
import * as mutations from './mutations';
Vue.use(Vuex);
......@@ -514,6 +515,7 @@ Vue.use(Vuex);
export default new Vuex.Store({
actions,
getters,
mutations,
state: {
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