Closed oldCabbage closed 1 year ago
UnhandledPromiseRejectionWarning: ReferenceError: window is not defined 微模块不给参数也报错
微模块本身是通过拉取异步 bundle 的方式执行,目前不支持 SSR 渲染
使用ssr 渲染时使用微模块报错
UnhandledPromiseRejectionWarning: ReferenceError: window is not defined 微模块不给参数也报错
解决ssr渲染时的报错,或者微模块在客户端时在渲染
Any additional comments? 相关环境信息?