Skip to content

Commit c157512

Browse files
committed
add test module to store
1 parent 0a91334 commit c157512

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

test/index.html

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,16 @@ <h2>Load missing translations asynchronously</h2>
180180
Vue.config.devtools = true;
181181

182182
// initialize a new vuex store including our i18nVuexModule
183-
const store = new Vuex.Store();
183+
const store = new Vuex.Store({
184+
modules: {
185+
testing: {
186+
state: {
187+
something: 'blue'
188+
}
189+
}
190+
},
191+
strict: true
192+
});
184193

185194
// initialize the vuexi18nPlugin
186195
Vue.use(vuexI18n.plugin, store, {

0 commit comments

Comments
 (0)