You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ReferenceError: LoadingComponent is not defined
at q (E:\projects\react\umi3.2-ssr-test-server\dist\umi.server.js:1:1330129)
at async E:\projects\react\umi3.2-ssr-test-server\src\index.js:28:44
ReferenceError: LoadingComponent is not defined
at q (E:\projects\react\umi3.2-ssr-test-server\dist\umi.server.js:1:1330129)
at async E:\projects\react\umi3.2-ssr-test-server\src\index.js:28:44
此时报错,并且 SSR 失效 Originally posted by @itellyou-com in #5263 (comment)
The text was updated successfully, but these errors were encountered:
umijs 3.2.17
@umijs/preset-react 1.6.3
开启SSR,生成 dist/umi.server.js 文件后
搜索 server render function
这里 LoadingComponent 好像没有声明
复现 https://github.com/itellyou-com/umi3.2-ssr-test
服务端 https://github.com/itellyou-com/umi3.2-ssr-test-server
步骤:
在 umi3.2-ssr-test 中 yarn build ,然后将 dist 目录中的文件拷贝到 umi3.2-ssr-test-server ,然后 yarn start ,访问 localhost:3000
此时报错,并且 SSR 失效
Originally posted by @itellyou-com in #5263 (comment)
The text was updated successfully, but these errors were encountered: