|
@@ -3,6 +3,7 @@ import VueRouter from 'vue-router'
|
|
|
import Home from '../pages/Home.vue'
|
|
|
import oldStatistics from '../pages/oldStatistics.vue'
|
|
|
import PatrolmanStatistics from '../pages/PatrolmanStatistics.vue'
|
|
|
+import Ranking from '../pages/Ranking.vue'
|
|
|
Vue.use(VueRouter)
|
|
|
const routes = [
|
|
|
{
|
|
@@ -19,10 +20,16 @@ const routes = [
|
|
|
path: '/home/PatrolmanStatistics',
|
|
|
name: 'oldStatistics',
|
|
|
component: PatrolmanStatistics
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/home/Ranking',
|
|
|
+ name: 'oldStatistics',
|
|
|
+ component: Ranking
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
+
|
|
|
]
|
|
|
const router = new VueRouter({
|
|
|
routes
|