repod/src/router.js

19 lines
314 B
JavaScript
Raw Normal View History

2023-07-02 16:30:42 +00:00
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