[英]Having problems with deploying Vite React app on Heroku
Easiest way is to create a start script and put the command you want to run in production.最简单的方法是创建一个启动脚本并将要在生产中运行的命令放入。
If you want the same command, put the 'dev' script's code in 'start' script如果您想要相同的命令,请将“dev”脚本的代码放在“start”脚本中
As 'dev' script contains command for development and 'start' should contain production script.由于“dev”脚本包含开发命令,“start”应包含生产脚本。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.