React-51:React项目打包运行 Always_positive 2021-04-21 103 阅读1分钟 1. build创建 npm run build 2. 全局安装serve库 npm i serve -g 3. 以build文件夹为服务器的根目录 serve build