ysp99

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

 

分类:

技术点:

相关文章: