We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
dev 模式加载 vite 子应用报错 Strict mode code may not include a with statement
https://github.com/lfzs/qiankun-rc19-vite
The text was updated successfully, but these errors were encountered:
vite ESM 不支持沙箱吗?
Sorry, something went wrong.
咨询遇到的两个问题:
vite 子应用应该如何 export 生命周期给主应用使用呢? 在 main.js 中的 export 构建之后会被移除掉 虽然 window[name] = { bootstrap, mount,unmount } 可以,但前提需要明确的 name
window[name] = { bootstrap, mount,unmount }
子应用入口 script 文件需要 entry 标识,但是 vite 构建后会被移除,只能手动提供 plugin 进行添加吗?
咨询遇到的两个问题: vite 子应用应该如何 export 生命周期给主应用使用呢? 在 main.js 中的 export 构建之后会被移除掉 虽然 window[name] = { bootstrap, mount,unmount } 可以,但前提需要明确的 name 子应用入口 script 文件需要 entry 标识,但是 vite 构建后会被移除,只能手动提供 plugin 进行添加吗?
作者的这个问题解决了吗
vite那个用不了吧, qiankun会自动包一层with,严格模式下不支持with语句的
No branches or pull requests
What happens?
dev 模式加载 vite 子应用报错 Strict mode code may not include a with statement
Mini Showcase Repository(REQUIRED)
https://github.com/lfzs/qiankun-rc19-vite
Context
The text was updated successfully, but these errors were encountered: