umi权限路由_umi 入门之项目配置
umi 项目配置一、运行配置约定src/app.tsx为运行配置配置项目1.patchRoutes 修改路由,可获得整个路由系统export function patchRoutes({ routes }) {routes.unshift({path: '/foo',exact: true,component: require('@/extraRoutes/foo').default,});}复...