mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-12-25 05:50:18 +08:00
build(projects): 依赖升级
This commit is contained in:
22
src/router/routes.ts
Normal file
22
src/router/routes.ts
Normal file
@@ -0,0 +1,22 @@
|
||||
import type { RouteRecordRaw } from 'vue-router';
|
||||
|
||||
/**
|
||||
* 自定义路由
|
||||
*/
|
||||
export const customRoutes: Array<RouteRecordRaw> = [
|
||||
{
|
||||
name: 'root',
|
||||
path: '/',
|
||||
redirect: 'home'
|
||||
},
|
||||
{
|
||||
name: 'home',
|
||||
path: '/home',
|
||||
component: () => import('@/views/home/index.vue')
|
||||
},
|
||||
{
|
||||
name: 'system',
|
||||
path: '/system',
|
||||
component: () => import('@/views/system/index.vue')
|
||||
}
|
||||
];
|
||||
Reference in New Issue
Block a user