wujie
wujie copied to clipboard
Iconpark WebComponent 方式再子应用使用 Sharing constructed stylesheets in multiple documents is not allowed
描述bug Wujie 子应用中使用 iconpark 的 WebComponent 组件导致无法显示 报错提示:
Uncaught DOMException: Failed to set the 'adoptedStyleSheets' property on 'ShadowRoot': Sharing constructed stylesheets in multiple documents is not allowed
错误截图
子应用独立运行显示正常
最小复现仓库或者地址 Demo 复现地址: https://github.com/1021683053/wujie-issue-iconpark 运行
pnpm i
pnpm dev