JasonBoy / koa-web-kit

🚀A Modern, Production-Ready, and Full-Stack Node Web Framework with React
MIT License
214 stars 41 forks source link

命令npm run deploy 如何ssr运行? #27

Closed githen-cn closed 5 years ago

githen-cn commented 5 years ago

您好 再问个问题,如果想要服务器渲染(ssr)的方式运行,应执行什么命令?

我运行了npm run deploy后,查看源码还是JS进行页面渲染的。
JasonBoy commented 5 years ago

配置文件里ENABLE_SSR: true: https://github.com/JasonBoy/koa-web-kit#application-config-and-environment-variables

githen-cn commented 5 years ago

OK,感谢。👍🏻