1.排查是否安裝npm;下載地址:http://nodejs.cn/download/;官網地址:https://nodejs.org/en/,
2.進入小程式根目錄,打開cmd ,輸入 npm init -y (-y自動按下回車鍵,表示接受默認值),
3.npm i @vant/weapp -S --production
4.打開小程式開發工具,點擊詳情, 勾選【使用npm模塊】,
5.點擊小程式開發工具【工具-構建npm】即可,
vant weapp 地址:https://youzan.github.io/vant-weapp/#/quickstart
轉載地址:https://blog.csdn.net/wsdxho/article/details/108142698
轉載請註明出處,本文鏈接:https://www.uj5u.com/yidong/186261.html
標籤:其他
