#!/bin/sh server_dest="../gen/src/main/resources/public" sudo npm install rm -rf dist/* npm run build:prod echo "复制dist文件内容到$server_dest" rm -rf $server_dest mkdir -p $server_dest cp -r dist/* $server_dest