diff options
Diffstat (limited to 'src/main.js')
-rw-r--r-- | src/main.js | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/src/main.js b/src/main.js index 6dac8fd5a..2f11a8216 100644 --- a/src/main.js +++ b/src/main.js @@ -1,11 +1,10 @@ import Vue from 'vue' -import App from './App.vue' import VueRouter from 'vue-router' -import Explore from './components/Explore.vue' -import { generateUrl } from '@nextcloud/router' import Vuex, { Store } from 'vuex' +import App from './App.vue' +import router from './routes' import mainStore from './store' import { Tooltip } from '@nextcloud/vue' @@ -20,20 +19,6 @@ Vue.use(VueRouter) Vue.directive('tooltip', Tooltip) -const routes = [ - { - name: 'explore', - path: '#explore', - component: Explore, - }, -] - -const router = new VueRouter({ - mode: 'history', - base: generateUrl('apps/news'), - routes, -}) - const store = new Store(mainStore) export default new Vue({ |