repod/src/router.js
Michel Roux 21c853397d
Some checks failed
repod / nextcloud-25 (push) Successful in 49s
repod / nextcloud-27 (push) Successful in 37s
repod / nodejs (push) Failing after 1m15s
Begin Discover
2023-07-02 18:30:42 +02:00

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