mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-12-28 10:45:58 +08:00
refactor(projects): 路由声明重构,添加composables,BaseLayout进行中,文件夹规范
This commit is contained in:
5
src/router/export/index.ts
Normal file
5
src/router/export/index.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import { getCacheRoutes, transformRouteToMenu } from '@/utils';
|
||||
import { customRoutes, routes } from '../routes';
|
||||
|
||||
export const cacheRoutes = getCacheRoutes(routes);
|
||||
export const menus = transformRouteToMenu(customRoutes);
|
||||
Reference in New Issue
Block a user