diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2018-02-28 10:59:48 +0000 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2018-02-28 10:59:48 +0000 |
commit | 089236976be55a02ed3371521a94289a83f479b0 (patch) | |
tree | abef36f2ee5239b6b2d6917d695e364a0179d592 /doc | |
parent | 4371f845649deaf6bf31f0a675b33f1d58f64de4 (diff) | |
download | gitlab-ce-089236976be55a02ed3371521a94289a83f479b0.tar.gz |
Fix example in Vuex docs
Diffstat (limited to 'doc')
-rw-r--r-- | doc/development/fe_guide/vue.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/development/fe_guide/vue.md b/doc/development/fe_guide/vue.md index 6c93c29124d..09957feee17 100644 --- a/doc/development/fe_guide/vue.md +++ b/doc/development/fe_guide/vue.md @@ -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: [], }, |