move auth into vuex state
This commit is contained in:
16
src/store/index.js
Normal file
16
src/store/index.js
Normal file
@@ -0,0 +1,16 @@
|
||||
import Vue from 'vue';
|
||||
import Vuex from 'vuex';
|
||||
|
||||
import authentication from './authentication';
|
||||
|
||||
Vue.use(Vuex);
|
||||
|
||||
const store = new Vuex.Store({
|
||||
state: {
|
||||
},
|
||||
modules: {
|
||||
authentication,
|
||||
},
|
||||
});
|
||||
|
||||
export default store;
|
||||
Reference in New Issue
Block a user