pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/iview/iview-mpvue

bal-b4711dbbb32e.css" /> GitHub - iview/iview-mpvue: 一套高质量的微信小程序 UI 组件库
Skip to content

iview/iview-mpvue

 
 

Repository files navigation

iView mpvue

一套高质量的小程序 UI 组件库

文档

https://iview-mpvue.gitbook.io/iview-mpvue/

体验

使用微信扫一扫体验小程序组件示例

快速上手

使用之前

在开始使用 iView Mpvue 之前,你需要先阅读 Vue组件注册 的相关文档。

如何使用

GitHub 下载 iView Mpvue 的代码,将 dist 目录拷贝到自己的项目中。然后按照如下的方式使用组件,以 Button 为例,其它组件在对应的文档页查看:

  1. 添加需要的组件。按照Vue的自定义组件使用方式引入并注册:
<script>
    import button from '../../dist/components/button/button'
    export default {
        components: {
            'i-button': button
        }
    }
</script>
  1. 在 vue 中使用组件:
<i-button type="primary" @click="handleClick">这是一个按钮</i-button>

预览所有组件

我们内置了所有组件的示例,您可以扫描上方的小程序码体验,或按以下方式在微信开发者工具中查看:

# 从 GitHub 下载后,安装依赖
npm install

# 编译组件
npm run dev

然后,将 examples 的dist目录分别在对应的小程序工具中打开即可(微信、百度、头条、支付宝)。

License

MIT

Copyright (c) 2019-present, iView-mpvue

About

一套高质量的微信小程序 UI 组件库

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CSS 46.4%
  • Vue 43.8%
  • JavaScript 9.8%
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy