引入weui
两种方式
第一种 下载安装npm (繁琐)
- npm init
- npm install --production
- npm i vant-weapp -S --production
- 构建npm
第二种 引用扩展方式 (快捷,不占用包体积)
json中
"useExtendedLib": {
"kbone": true,
"weui": true
}
两种方式
第一种 下载安装npm (繁琐)
第二种 引用扩展方式 (快捷,不占用包体积)
json中
"useExtendedLib": {
"kbone": true,
"weui": true
}