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 后,无法正确匹配到子应用 #241

Closed
maoxiaoke opened this issue Feb 3, 2021 · 0 comments · Fixed by #230
Closed

添加 basename 后,无法正确匹配到子应用 #241

maoxiaoke opened this issue Feb 3, 2021 · 0 comments · Fixed by #230
Labels
bug Something isn't working

Comments

@maoxiaoke
Copy link
Collaborator

maoxiaoke commented Feb 3, 2021

当如下配置:

// appConfig
icestark: {
  getApps: async () => {
    return [
  {
     path: '/seller',
     title: '商家平台'
  }
  ]
  }, 
  appRouter: {
    basename: 'deco'
  }
}

当前路由为 https://localhost:3030/deco/seller 时,无法匹配该路由

@maoxiaoke maoxiaoke added the bug Something isn't working label Feb 3, 2021
maoxiaoke added a commit that referenced this issue Feb 9, 2021
This was referenced Feb 9, 2021
maoxiaoke added a commit that referenced this issue Mar 10, 2021
* fix: basename for approuter takes no effect

close #241
maoxiaoke added a commit that referenced this issue Mar 11, 2021
* chore: 🤖 icestark 2.2.2

* Fix/basename (#244)

* fix: basename for approuter takes no effect

close #241

* Feat/sync multi (#262)

* feat: 🎸 sync multi moudles

* feat: 🎸 update changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant