alibaba / alibaba/ice

微应用中使用 build-plugin-keep-alive 插件报错

Open
#5,191 0 comments 0 reactions 1 assignee Assigned to @answershuto View on GitHub
bug
Dominant language
TypeScript
Stars
18.6k
Forks
2.1k
PR merge metrics
No merged PRs in 30d

Description

会得到报错信息:`You should not use outside a `

插件中 `modifyRoutesComponent()` 没有成功修改路由

项目的 build.json 信息:
```json
"plugins": [
[
"build-plugin-icestark",
{
"umd": true,
"omitSetLibraryName": true
}
],
"build-plugin-webpack5",
"build-plugin-keep-alive"
]
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.