


Download IView Weapp
https://github.com/TalkingData/iview-weapp
Import file
After downloading, import all files in the dist folder (you can also select only the required components) into the static folder of the mpvue project.
Use components
Configure in the page where you need to use the component.
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' } } }
Then use tags in the page to successfully call
<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>
WeChat applet New project hello WeApp Detailed introduction
How to use the template of WeChat applet
The above is the detailed content of How to use iView Weapp in the WeChat applet mpvue framework?. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

EditPlus Chinese cracked version
Small size, syntax highlighting, does not support code prompt function

VSCode Windows 64-bit Download
A free and powerful IDE editor launched by Microsoft

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool
