Move some interactions to the backendInteractor
The idea is that all interactions should move there, so components don't have to pass around credentials all the time.
This commit is contained in:
parent
b1f9f6395c
commit
215e51f764
6 changed files with 50 additions and 9 deletions
|
@ -9,6 +9,7 @@ import Conversation from './components/conversation/conversation.vue'
|
|||
|
||||
import statusesModule from './modules/statuses.js'
|
||||
import usersModule from './modules/users.js'
|
||||
import apiModule from './modules/api.js'
|
||||
|
||||
Vue.use(Vuex)
|
||||
Vue.use(VueRouter)
|
||||
|
@ -16,7 +17,8 @@ Vue.use(VueRouter)
|
|||
const store = new Vuex.Store({
|
||||
modules: {
|
||||
statuses: statusesModule,
|
||||
users: usersModule
|
||||
users: usersModule,
|
||||
api: apiModule
|
||||
}
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue