1. 首先選擇自由風的構建方式
2. 我的源碼在gitlab上,在源碼管理下,提供倉庫URL和憑證,以及gitlab的分支
3. 在構建環境下選擇提供Node &npm bin/folder to Path
4. 構建 執行shell
node -v
npm install -g cnpm --registry=https://registry.npm.taobao.org
cnpm -v
cnpm install
cnpm run build
cp -R dist /opt/指定目錄