-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] umi@3 下路由路径问题 #11746
Comments
由于缺乏足够的信息,我们暂时关闭了该 Issue。请修改(不要回复) Issue 提供最小重现以重新开启。谢谢。 |
你给它包一下不行吗,反正 umi 3 不维护了,建议升级到 umi 4 。 |
在 umi 4 中,路由里的 component 组件会先加载吗,加载的时候貌似临时文件还没写到 .umi? |
写临时文件的命令是 |
|
如有问题,需要给一个最小复现。 |
What happens?
在路由配置里:
最终会被转成
/Users/xxx/Documents/project/xxx/src/pages//Users/xxx/Documents/project/xxx/src/.umi/plugin-AA/layout
core/lib/Route/Route.js
转成/Users/xxx/Documents/project/xxx/src/pages/@@/plugin-AA/layout
plugin-ui-blocks/lib/ui/utils.js
转成/Users/xxx/Documents/project/xxx/src/pages//Users/xxx/Documents/project/xxx/src/.umi/plugin-AA/layout
Expected behavior
希望可以在路由的
component
支持引用临时文件夹@@
下的路径正确返回
/Users/xxx/Documents/project/xxx/src/.umi/plugin-AA/layout
Context
The text was updated successfully, but these errors were encountered: