mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
refactor(projects): 路由文件夹拆分模块,代码重构
This commit is contained in:
9
src/router/routes/index.ts
Normal file
9
src/router/routes/index.ts
Normal file
@ -0,0 +1,9 @@
|
||||
import type { RouteRecordRaw } from 'vue-router';
|
||||
import ROUTE_HOME from './routeHome';
|
||||
import customRoutes from '../modules';
|
||||
import constantRoutes from './constant';
|
||||
|
||||
/** 所有路由 */
|
||||
export const routes: RouteRecordRaw[] = [...customRoutes, ...constantRoutes];
|
||||
|
||||
export { ROUTE_HOME, customRoutes };
|
Reference in New Issue
Block a user