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/指定目錄
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/指定目錄
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。