PowerShell构建
# 进入项目目录
cd ./source
# 安装依赖
npm install --registry=https://registry.npm.taobao.org
# 打包项目
npm run build
# 清空目录
rm -r D:vue*
# 复制文件
cp -r D:JenkinsJenkinsworkspacedemodist* D:vue
PowerShell构建
# 进入项目目录
cd ./source
# 安装依赖
npm install --registry=https://registry.npm.taobao.org
# 打包项目
npm run build
# 清空目录
rm -r D:vue*
# 复制文件
cp -r D:JenkinsJenkinsworkspacedemodist* D:vue