https://github.com/TalkingData/iview-weapp
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>
以上是微信小程式mpvue框架中如何使用iView Weapp?的詳細內容。更多資訊請關注PHP中文網其他相關文章!