feat(projects): add new route plugin @soybeanjs/vite-plugin-vue-page-route [集成新的路由插件]

This commit is contained in:
Soybean
2023-01-15 23:32:40 +08:00
parent f71812d622
commit 3131e00f0f
9 changed files with 357 additions and 172 deletions

View File

@ -5,13 +5,13 @@ declare namespace AuthRoute {
/** 捕获无效路由的路由路径 */
type NotFoundRoutePath = '/:pathMatch(.*)*';
type RootRouteKey = RouterPage.RootRouteKey;
type RootRouteKey = PageRoute.RootRouteKey;
type NotFoundRouteKey = RouterPage.NotFoundRouteKey;
type NotFoundRouteKey = PageRoute.NotFoundRouteKey;
type RouteKey = RouterPage.RouteKey;
type RouteKey = PageRoute.RouteKey;
type LastDegreeRouteKey = RouterPage.LastDegreeRouteKey;
type LastDegreeRouteKey = PageRoute.LastDegreeRouteKey;
type AllRouteKey = RouteKey | RootRouteKey | NotFoundRouteKey;