Skip to content
New issue

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

提问 #3

Closed
xxyGoTop opened this issue Nov 1, 2017 · 1 comment
Closed

提问 #3

xxyGoTop opened this issue Nov 1, 2017 · 1 comment

Comments

@xxyGoTop
Copy link

xxyGoTop commented Nov 1, 2017

能否说明下 生产环境的部署 thank you

@Nealyang
Copy link
Owner

Nealyang commented Nov 1, 2017

@xxyGoTop 生产环境由于最近忙,还真的一直没有测,但是webpack的配置已经写好了,说白了就是将react打包出来而已,然后前端页面服务会根据环境(prod or dev)去判断是否起热更新,也就是后端服务并不需要做大改动,可能就是资源目录需要修改下。可以参照create-react-app来看下打包出来是什么样子,基本react开发出来打包后都那种套路

@Nealyang Nealyang closed this as completed Nov 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants