diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2018-02-28 13:59:48 +0300 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2018-02-28 13:59:48 +0300 |
commit | 089236976be55a02ed3371521a94289a83f479b0 (patch) | |
tree | abef36f2ee5239b6b2d6917d695e364a0179d592 /doc/development/fe_guide | |
parent | 4371f845649deaf6bf31f0a675b33f1d58f64de4 (diff) |
Fix example in Vuex docs
Diffstat (limited to 'doc/development/fe_guide')
-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: [], }, |