构建的命令
bash
node -v
pnpm -v
pnpm install
pnpm build
# 将dist打包成dist.zip
zip -r dist.zip dist
mv dist.zip /www/wwwroot/video.xxx.com/dist.zip
cd /www/wwwroot/video.xxx.com
# 解压并覆盖之前的文件
unzip -o dist.zip