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

本地调试 子应用修改代码 主应用不同步更新 且控制台报错当前的路由不存在 #1537

Open
tmx-502 opened this issue Feb 26, 2025 · 1 comment

Comments

@tmx-502
Copy link

tmx-502 commented Feb 26, 2025

问题描述

问题的具体描述

复现步骤

  1. 本地开发,子应用修改代码,自动触发应用更新
  2. 父子应用中子引用无法同步更新。

上传截图

本地代码已修改,页面不会自动刷新 ,需要手动触发刷新主应用浏览器窗口才能更新

Image

Image

其中报错中的 model-market 是当前子应用所在页面的路由

复现仓库

请提供一个精简的代码仓库,然后上传到自己的 github,以帮助我们复现您的问题。

环境信息

  • micro-app版本: 1.0.0-rc.21
  • 主应用前端框架&版本: angular 17.3.11
  • 子应用前端框架&版本:angular 17.3.11
  • 构建工具&版本:angular Cli
@tmx-502
Copy link
Author

tmx-502 commented Mar 7, 2025

最小复现仓库 https://github.com/tmx-502/micro-app-angular-demo/tree/master
本地修改子应用test组件 页面不更新且报错

Image

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

1 participant