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

routing mismatch when routerPathPrefix is similar with other sub application #264

Open
Matcha-Toast opened this issue Dec 12, 2022 · 2 comments

Comments

@Matcha-Toast
Copy link

Describe the bug
I got two application have similar name, one is 'app1' and the other is 'app1-similar'.
During the development, we only start portal and app1-similar at local.
then enter browser, it try to load app1's manifest which I do not need.

To Reproduce
Steps to reproduce the behavior:

  1. Using ngx-planet v12.1.0 example code (app2 as app1-similar)

  2. change 'app2' routing path into 'app1-similar' in the app-routing,module.ts
    image

  3. change app2 routerPathPrefix into '/app1-similar' in the app.component.ts
    image

  4. change app2 routerLink into '/app1-similar'
    image

  5. open browser and enter app2

  6. See error
    image

Expected behavior
Normal load sub application(app1-similar)

Desktop (please complete the following information):

  • OS: [Windows 10]
  • Browser : [Chrome]
@Matcha-Toast
Copy link
Author

Hi 請問這項issue 有任何的建議 或更新嗎?
謝謝

@why520crazy
Copy link
Member

你可以把 app1-similar 和 app1 的定义顺序调换一下试试。

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