@@ -1,6 +1,7 @@
import Vue from 'vue';
import Vuex from 'vuex';
import admin from '@common/src/store/admin';
+import test from '@common/src/store/test';
Vue.use(Vuex);
@@ -9,5 +10,5 @@ export default new Vuex.Store({
getters: {},
mutations: {},
actions: {},
- modules: { admin },
+ modules: { admin, test },
});
@@ -8,7 +8,7 @@
<script>
import { mapState, createNamespacedHelpers } from 'vuex';
-const { mapActions } = createNamespacedHelpers('admin');
+const { mapActions } = createNamespacedHelpers('test');
export default {
name: 'homeIndex',
props: {},