mirror of
https://github.com/zclzone/vue-naive-admin.git
synced 2025-12-28 12:10:20 +08:00
41 lines
696 B
JavaScript
41 lines
696 B
JavaScript
export const basicRoutes = [
|
|
{
|
|
name: 'Login',
|
|
path: '/login',
|
|
component: () => import('@/views/login/index.vue'),
|
|
meta: {
|
|
title: '登录页',
|
|
layout: 'empty',
|
|
},
|
|
},
|
|
|
|
{
|
|
name: 'Home',
|
|
path: '/',
|
|
component: () => import('@/views/home/index.vue'),
|
|
meta: {
|
|
title: '首页',
|
|
},
|
|
},
|
|
|
|
{
|
|
name: '404',
|
|
path: '/404',
|
|
component: () => import('@/views/error-page/404.vue'),
|
|
meta: {
|
|
title: '页面飞走了',
|
|
layout: 'empty',
|
|
},
|
|
},
|
|
|
|
{
|
|
name: '403',
|
|
path: '/403',
|
|
component: () => import('@/views/error-page/403.vue'),
|
|
meta: {
|
|
title: '没有权限',
|
|
layout: 'empty',
|
|
},
|
|
},
|
|
]
|