路由模式切换导致报错
Open
Nobody has claimed this yet.
need reproduction
- Dominant language
- TypeScript
- Stars
- 2.9k
- Forks
- 279
- PR merge metrics
- No merged PRs in 30d
Description
我在使用qiankun做一个微前端,当子应用的路由由createWebHistory切换为createMemoryHistory模式时,开发者工具会报错
Cannot read properties of undefined (reading 'app')
TypeError: Cannot read properties of undefined (reading 'app')
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported qiankun setup with the child route changed from createWebHistory to createMemoryHistory, then inspect the Vue Devtools path associated with the reported undefined app error. Done means the developer tools no longer throw while the child application uses memory history, with the existing history mode still working.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100