2020-09-18 在微信小程序中安装vant-weapp

在微信小程序根目录添加 package.json (打开终端进入小程序所在根目录)

npm init

安装npm 包

npm install --production

安装vant-weapp

npm install @vant/weapp -S --production

微信开发者工具 “工具 ----> 构建npm” 等待几秒钟,就构建完成了

你可能感兴趣的:(2020-09-18 在微信小程序中安装vant-weapp)