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

无法进入子应用路由,配置basename 后报错 #729

Open
DavidWuJay opened this issue Mar 31, 2024 · 1 comment
Open

无法进入子应用路由,配置basename 后报错 #729

DavidWuJay opened this issue Mar 31, 2024 · 1 comment

Comments

@DavidWuJay
Copy link

image
子应用配置:
app.ts
image
config
image
主应用配置:
image
如何实现主程序访问子路由进行匹配
现在情况 可以获取到子应用但是无法进入子应用路由

@ClarkXia
Copy link
Collaborator

ClarkXia commented Apr 1, 2024

配置 basename 要主要作为子应用渲染的情况,可以参考 https://github.com/alibaba/ice/blob/master/examples/icestark-child/src/app.tsx

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

2 participants