add calendar menu

This commit is contained in:
jxxghp
2023-06-27 10:48:00 +08:00
parent f56f509f07
commit 81d0181ec2
3 changed files with 26 additions and 1 deletions
+8 -1
View File
@@ -1,5 +1,5 @@
import { createRouter, createWebHistory } from 'vue-router'
import store from '@/store'
import { createRouter, createWebHistory } from 'vue-router'
const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
@@ -44,6 +44,13 @@ const router = createRouter({
requiresAuth: true,
},
},
{
path: 'calendar',
component: () => import('../pages/calendar.vue'),
meta: {
requiresAuth: true,
},
},
{
path: 'downloading',
component: () => import('../pages/downloading.vue'),