修改路由
This commit is contained in:
@@ -1,10 +1,21 @@
|
||||
import { createRouter, createWebHistory, RouteRecordRaw } from 'vue-router'
|
||||
|
||||
const routes: Array<RouteRecordRaw> = [
|
||||
{
|
||||
path:"/mine",
|
||||
name:"Mine",
|
||||
component: () => import("../layout/mine.vue"),
|
||||
children: [
|
||||
{
|
||||
path:"Archives",
|
||||
component: () => import("../views/mine/Archives.vue")
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
path: '/',
|
||||
name: 'Home',
|
||||
component: () => import(/* webpackChunkName: "about" */ '../components/Nav.vue')
|
||||
component: () => import(/* webpackChunkName: "about" */ '../components/NavTop.vue')
|
||||
},
|
||||
{
|
||||
path: '/about',
|
||||
|
||||
Reference in New Issue
Block a user