-
## [扼要问题描述]
因为之前也用过mpvue 是1.0的版本 引入了vant weapp(也就是有赞的小程序框架,通过npm install的形式引入)在执行npm run dev的时候是会把vant weapp的包打包进\dist目录下,但是在mpvue2.0版本下 同样也是npm install的形式引入vant weapp 在执行npm run dev就不会把这个vant weap…
-
报错如下
Install component field fail.
You can try cmd: 'cli.js install field --no-cache' to fix it.
-
1. Vant Weapp https://youzan.github.io/vant-weapp/#/intro
2. WeUI https://github.com/Tencent/weui-wxss
3. iview-weapp https://github.com/TalkingData/iview-weapp
4. MinUI 组件库 https://meili.github.i…
-
### UI组件库
- [WeUI WXSS微信官方UI组件库](https://github.com/Tencent/weui-wxss)
- [iView WeApp](https://github.com/TalkingData/iview-weapp)
- [Vant WeApp(有赞,推荐)](https://github.com/youzan/vant-weapp)
- […
-
package.json
```
"@tinajs/mina-entry-webpack-plugin": "1.6.0",
"@tinajs/mina-loader": "1.10.0",
"@tinajs/mina-runtime-webpack-plugin": "1.3.7",
"@tinajs/wxml-loader": "0.3.1-fork.…
-
-
### 相关平台
微信小程序
**小程序基础库: 2.26.1**
**使用框架: Vue 2**
### 复现步骤
把vant-weapp的dist放到components文件夹下
app.config.js
引入
usingComponents: {
'van-button': './components/vant-weapp/button…
-
[https://github.com/youzan/vant-weapp/issues/1911](url)
-
建议Icon组件添加徽标提示(右上角数字或圆点),参考vant-weapp的 icon组件: https://github.com/youzan/vant-weapp/blob/dev/dist/icon/index.wxml
-
建议给ActionSheet组件添加slot,可以自定义Action内容和样式,参考vant-weapp的 action-sheet组件: https://github.com/youzan/vant-weapp/blob/dev/dist/action-sheet/index.wxml