mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
feat(projects): add new route plugin @soybeanjs/vite-plugin-vue-page-route [集成新的路由插件]
This commit is contained in:
@ -1,6 +1,9 @@
|
||||
import type { RouteComponent } from 'vue-router';
|
||||
|
||||
export const views: Record<RouterPage.LastDegreeRouteKey, RouteComponent | (() => Promise<RouteComponent>)> = {
|
||||
export const views: Record<
|
||||
PageRoute.LastDegreeRouteKey,
|
||||
RouteComponent | (() => Promise<{ default: RouteComponent }>)
|
||||
> = {
|
||||
403: () => import('./_builtin/403/index.vue'),
|
||||
404: () => import('./_builtin/404/index.vue'),
|
||||
500: () => import('./_builtin/500/index.vue'),
|
||||
|
Reference in New Issue
Block a user