启动命令

1、C:\0_RG\Code\rg3-cli\package.json
2、底下启动脚本根据实际应用进行配置和调整
3、smdcm换成新的

"serve:smdcm": "vue-cli-service serve --mode development-smdcm",
"serve:smdcm-cdn": "vue-cli-service serve --mode development-smdcm-cdn",
"serve:smdcm-local": "vue-cli-service serve --mode development-smdcm-local",
"build:smdcm": "vue-cli-service build --mode production-smdcm",
"build:smdcm-app": "vue-cli-service build --mode production-smdcm-app",
"build:smdcm-local": "vue-cli-service build --mode production-smdcm-local",

常用的启动命令(生产)


npm run build:smdcm

常用的启动命令(开发),cdn文件指向远程


npm run serve:smdcm-cdn

启动前端服务(如果npm没安装,需要先npm i)

网页访问

http://localhost:5775

文档更新时间: 2023-04-06 20:53   作者:admin