Initial commit
This commit is contained in:
parent
60df431f80
commit
fd332bda79
22 changed files with 13206 additions and 0 deletions
22
src/store/index.js
Normal file
22
src/store/index.js
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
import Vue from 'vue'
|
||||
import Vuex from 'vuex'
|
||||
|
||||
import { auth } from './auth.module';
|
||||
|
||||
Vue.use(Vuex)
|
||||
|
||||
export default new Vuex.Store({
|
||||
state: {
|
||||
currentRoom: null
|
||||
},
|
||||
mutations: {
|
||||
setCurrentRoom(state, room) {
|
||||
state.currentRoom = room;
|
||||
},
|
||||
},
|
||||
actions: {
|
||||
},
|
||||
modules: {
|
||||
auth
|
||||
},
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue