Skip to content

Commit

Permalink
add test module to store
Browse files Browse the repository at this point in the history
  • Loading branch information
tikiatua committed Jan 9, 2018
1 parent 0a91334 commit c157512
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion test/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,16 @@ <h2>Load missing translations asynchronously</h2>
Vue.config.devtools = true;

// initialize a new vuex store including our i18nVuexModule
const store = new Vuex.Store();
const store = new Vuex.Store({
modules: {
testing: {
state: {
something: 'blue'
}
}
},
strict: true
});

// initialize the vuexi18nPlugin
Vue.use(vuexI18n.plugin, store, {
Expand Down

0 comments on commit c157512

Please sign in to comment.