diff options
author | Marco Ambrosini <marcoambrosini@pm.me> | 2019-09-18 14:31:45 +0300 |
---|---|---|
committer | Marco Ambrosini <marcoambrosini@pm.me> | 2019-10-09 11:50:29 +0300 |
commit | 2f8da9908a80f3bd849a2e7f2d393a947c956570 (patch) | |
tree | a3c6e3757e3720599217afb6c0fb30ce536d5b30 /src/main.js | |
parent | 9a571c7e702284a3b6efecc0eeb3acdb50b95a09 (diff) |
Create router, WelcomeView and ChatView components
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
Diffstat (limited to 'src/main.js')
-rw-r--r-- | src/main.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.js b/src/main.js index aebca25ed..6ba649a73 100644 --- a/src/main.js +++ b/src/main.js @@ -24,6 +24,8 @@ import App from './App' import Vuex from 'vuex' import contenteditableDirective from 'vue-contenteditable-directive' import store from './store' +import VueRouter from 'vue-router' +import router from './router/router' import { generateFilePath } from 'nextcloud-router' import { getRequestToken } from 'nextcloud-auth' @@ -45,9 +47,11 @@ Vue.prototype.OCA = OCA Vue.use(contenteditableDirective) Vue.use(Vuex) +Vue.use(VueRouter) export default new Vue({ el: '#content', store, + router, render: h => h(App) }) |