refactor(projects): 路由文件夹重构

This commit is contained in:
Soybean
2021-10-21 11:59:55 +08:00
parent b80c224664
commit b2854d57e8
28 changed files with 150 additions and 197 deletions

View File

@ -1,10 +1,10 @@
import type { CustomRoute } from '@/interface';
import { EnumRoutePath } from '@/enum';
import { RouteNameMap } from '../helpers';
import { ROUTE_NAME_MAP } from '@/utils';
import { ROUTE_HOME } from '../routes';
const ROOT: CustomRoute = {
name: RouteNameMap.get('root'),
name: ROUTE_NAME_MAP.get('root'),
path: EnumRoutePath.root,
redirect: { name: ROUTE_HOME.name },
meta: {