Merge branch 'master' of http://git.luyuan.tk/luyuan/beelink into zj

This commit is contained in:
asd
2020-09-27 10:56:38 +08:00
14 changed files with 14645 additions and 11 deletions

View File

@@ -3,10 +3,21 @@ import Home from '../views/Home.vue'
import Login from "../views/login/Login.vue"
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/Menu.vue')
component: () => import(/* webpackChunkName: "about" */ '../components/NavTop.vue')
},
// {
@@ -17,11 +28,16 @@ const routes: Array<RouteRecordRaw> = [
// // which is lazy-loaded when the route is visited.
// component: () => import(/* webpackChunkName: "about" */ '../views/About.vue')
// }
{
path: '/archives',
name: 'Archives',
component: () => import('../views/mine/Archives.vue')
},
{
path: '/login',
name: 'Login',
component:Login
},
}
]
const router = createRouter({