https://github.com/TalkingData/iview-weapp
下载完后将dist文件夹中的所有文件(也可以只选择需要的组件)导入到mpvue项目的static文件夹中▽=▽★。
在需要使用组件的页面中配置。
main◁◇.js
import Vue from 'vue'import App from './index'•△;const app = new Vue(App) app.$mount()export default { config: { usingComponents: { 'i-card': '▷…◁★../../★◁▽★.-▪-./static/iview/card/index' } } }
然后在页面中使用标签就可成功调用
<i-card full title="卡片标题"▲◇•□; extra="◇◁;额外内容" thumb="https://i.loli★▽○▼.net/2017/08/21/599a521472424▽●•.jpg"> <view slot="content">内容不错</view>◆▲▲; <view slot="★▽◇;footer">尾部内容<▪-;/view>■□•; </i-card>▲…◆;
相关文章■☆:
微信小程序 新建项目hello WeApp 详细介绍
微信小程序的template模板如何使用
以上就是微信小程序mpvue框架中如何使用iView Weapp△◆□?的详细内容△…,phpMyAdmin。[厦门seo诊断公司]更多请关注久澳传媒编程栏目其它相关文章!中山市小程序制作公司阿里地区日喀则市小程序制作公司
*请认真填写需求信息,我们会在24小时内与您取得联系。