aboutsummaryrefslogtreecommitdiff
path: root/src/main.js
diff options
context:
space:
mode:
authorRoger Braun <roger@rogerbraun.net>2016-11-26 18:57:08 +0100
committerRoger Braun <roger@rogerbraun.net>2016-11-26 18:57:08 +0100
commit215e51f764660442405b47c2620c62681ef5a057 (patch)
tree1ae3ef9f92701cca32558732a3b025ed7db824e8 /src/main.js
parentb1f9f6395c6f1e621eec64f8586649dd6f04daf1 (diff)
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.
Diffstat (limited to 'src/main.js')
-rw-r--r--src/main.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.js b/src/main.js
index 3d3ef1b4..eb1ad9b2 100644
--- a/src/main.js
+++ b/src/main.js
@@ -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
}
})