### [微信小程序mpvue框架中如何使用iView Weapp?](https://www.prosaas.cn/article/17197) **Published:** 2018-08-04T02:09:00 **Author:** 5201314 **Excerpt:** 下载IView Weapphttps://github.com/TalkingData/iview-weapp… # 下载IView Weapp https://github.com/TalkingData/iview-weapp # 导入文件 下载完后将dist文件夹中的所有文件(也可以只选择需要的组件)导入到mpvue项目的static文件夹中。 ![](https://img.php.cn//upload/image/470/488/585/1533348330182011.png) # 使用组件 在需要使用组件的页面中配置。 ![](https://img.php.cn//upload/image/405/630/428/1533348404511552.png) 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' } } } 然后在页面中使用标签就可成功调用 内容不错 尾部内容 ![](https://img.php.cn//upload/image/692/464/714/1533348432247493.png) 相关文章: 微信小程序 新建项目hello WeApp 详细介绍 微信小程序的template模板如何使用 以上就是微信小程序mpvue框架中如何使用iView Weapp?的详细内容,更多请关注知企PROSAAS其它相关文章! **Tags:** github, JS, Static, talkingdata, 微信小程序 **Categories:** 后端开发 ---