使用
進入目錄安裝依賴:
yarn install || npm install
yarn build #生產(chǎn)打包 || npm run build
打包好后存在當前項目根目錄 /dist
文件夾下
備注
如果聯(lián)網(wǎng)可以直接使用
如果內(nèi)部搭建 需要搭建內(nèi)部 npm
源
參考
https://blog.csdn.net/wzs_xyz/article/details/50240095?utm_source=blogxgwz7