mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-05-25 07:49:15 +08:00
slot
to #
(#5858)
* docs(SwipeCell): change "slot" to "v-slot" * docs(SwipeCell): change `v-slot` to`#` * docs(cell): change `slot` to `#` * docs(checkbox): change `slot` to `v-slot` * docs(field): change `slot` to `v-slot` * docs(checkbox): remove wrong comment * docs(radio): change `slot` to `#` * docs(search): change `slot` to `#` * docs(slider): change `slot` to `#` * docs(switch): change `slot` to `#` * docs(PullRefresh): change `slot` to `#` * docs(collapse): change `slot` to `#` * docs(panel): change `slot` to `#` * docs(swipe): change `slot` to `#` * docs(navbar): change `slot` to `#` * docs(tab): change `slot` to `#` * docs(tabber): change `slot` to `#` * docs(TreeSelect): change `slot` to `#` * docs(card): change `slot` to `#` * docs(submitBar): change `slot` to `#` * docs(sku): change `slot` to `#` unsure * docs(cell): delete waste blank line * docs(panel): fix indentation * docs(PullRefresh): change "count" to "Refresh Count" * docs(radio): delete waste blank line * docs(search): move props above the event * docs(submitBar): delete waste `<span>` * docs(swipCell): delete waste blank line * docs(tabbar): merge `<img>` into one line
Mobile UI Components built on Vue
Features
- 60+ Reusable components
- 90% Unit test coverage
- Extensive documentation and demos
- Support babel-plugin-import
- Support Custom Theme
- Support i18n
- Support TS
- Support SSR
Install
# Using npm
npm i vant -S
# Using yarn
yarn add vant
Quickstart
import Vue from 'vue';
import { Button } from 'vant';
import 'vant/lib/index.css';
Vue.use(Button);
See more in Quickstart.
Contribution
Please make sure to read the Contributing Guide before making a pull request.
Browser Support
Modern browsers and Android 4.0+, iOS 8.0+.
Ecosystem
Project | Description |
---|---|
vant-demo | Official vant demo collection |
vant-weapp | WeChat MiniProgram UI |
vant-cli | Scaffold for UI library |
vant-icons | Vant icons |
vant-touch-emulator | Using vant in desktop browsers |
Links
Preview
You can scan the following QR code to access the demo:

Wechat Group
Scan the qrcode to join our wechat discussion group, please note that you want to join Vant discussion group.

LICENSE
Languages
TypeScript
63.5%
Vue
16.7%
Less
11.7%
JavaScript
7.7%
HTML
0.2%
Other
0.1%