bat启动vue项目 bat打包vue项目

bat启动vue项目

@echo off
set NODE_OPTIONS=--max_old_space_size=5096
npm install --registry=https://registry.npmjs.org & npm run dev
pause

bat编译vue项目

@echo off
set NODE_OPTIONS=--max_old_space_size=5096
npm cache clean -f & npm install --registry=https://registry.npmjs.org & npm run build
pause

在这里插入图片描述


版权声明:本文为m0_56896206原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。