构建命令
#!/bin/bash
cd ruoyi-ui
node -v
pnpm -v
pnpm install
pnpm build:prod
# 将dist打包成dist.zip
zip -r dist.zip dist
cp dist.zip ../dist.zip
#!/bin/bash
cd ruoyi-ui
node -v
pnpm -v
pnpm install
pnpm build:prod
# 将dist打包成dist.zip
zip -r dist.zip dist
cp dist.zip ../dist.zip