引入weui

两种方式 

第一种 下载安装npm (繁琐)

  1. npm init   
  2. npm install --production
  3. npm i vant-weapp -S --production
  4. 构建npm

第二种 引用扩展方式 (快捷,不占用包体积)

  json中

"useExtendedLib": {
    "kbone": true,
    "weui": true
  }
posted @ 2021-07-06 11:42  why_set  阅读(88)  评论(0)    收藏  举报