19 lines
314 B
JavaScript
19 lines
314 B
JavaScript
|
import Discover from './views/Discover.vue'
|
||
|
import Router from 'vue-router'
|
||
|
import Vue from 'vue'
|
||
|
import { generateUrl } from '@nextcloud/router'
|
||
|
|
||
|
Vue.use(Router)
|
||
|
|
||
|
const router = new Router({
|
||
|
base: generateUrl('apps/repod'),
|
||
|
routes: [
|
||
|
{
|
||
|
path: '/',
|
||
|
component: Discover,
|
||
|
},
|
||
|
],
|
||
|
})
|
||
|
|
||
|
export default router
|