1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
import Vue from 'vue'
import Router from 'vue-router'
import {generateUrl} from 'nextcloud-server/dist/router'
const Protection = () => import('./views/Protection')
const Recover = () => import('./views/Recover')
const History = () => import('./views/History')
Vue.use(Router)
export default new Router({
base: generateUrl('/apps/ransowmare_detection/'),
linkActiveClass: 'active',
routes: [
{
path: '/',
name: 'protection',
component: Protection,
},
{
path: '/recover',
name: 'recover',
component: Recover,
},
{
path: '/history',
name: 'history',
component: History,
},
],
})
|