Welcome to mirror list, hosted at ThFree Co, Russian Federation.

router.js « src - github.com/undo-ransomware/ransomware_detection.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c93277b36326c114625796b8c5d7e3c3c28d7e1d (plain)
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,
		},
	],
})