Skip to content
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] 脚手架生成的空项目路由报错 #11225

Open
RightFS opened this issue May 3, 2024 · 2 comments
Open

🐛 [BUG] 脚手架生成的空项目路由报错 #11225

RightFS opened this issue May 3, 2024 · 2 comments

Comments

@RightFS
Copy link

RightFS commented May 3, 2024

🐛 bug 描述

Uncaught Error: Absolute route path "/*" nested under path "/user" is not valid. An absolute child route path must start with the combined path of all its parent routes.

image
注释掉图中部分就好了

📷 复现步骤 | Recurrence steps

建项目时选complete,
yarn&&yarn start

© 版本信息

  • Ant Design Pro 版本: [e.g. 4.0.0]
  • umi 版本 4.1.10
  • 浏览器环境 chrome 124
  • 开发环境 windows nodejs 21

🚑 其他信息

@tanpengsccd
Copy link

还真是.感谢. 而且注释后似乎没有影响, 404 页面依然显示.

@vini123
Copy link

vini123 commented May 12, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants