Closed wsdo closed 6 years ago
what script do you use to start ? the single npm run ssr will generate the ssr.js, but it is integrated with other script, unless you use npm run watch, npm start separately and your ENABLE_SSR is true
npm run ssr
ssr.js
npm run watch
npm start
ENABLE_SSR
npm run ssr 然后 npm start ,访问3000 查看源代码没有看到 同构 的内容呢, 怎么启动能看到呢?
直接npm run dev:ssr
npm run dev:ssr
解决了,这个项目太棒了,能否 把 ant design 加入里面呢
这个你直接install一下,import用就行了啊,这边只是相对通用的东西,用什么UI库自己选择
我试试,之前搭建的,不兼容,在国外工作?
没
what script do you use to start ? the single
npm run ssr
will generate thessr.js
, but it is integrated with other script, unless you usenpm run watch
,npm start
separately and yourENABLE_SSR
is true