Vant 是有赞开源的一套基于 Vue 2.0 的 Mobile 组件库 https://www.oschina.net/p/vant
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Go to file
陈嘉涵 96a73fdcdf docs(changelog): 2.1.4 4 years ago
.github build: update lint-commit-msg rules (#4167) 4 years ago
build build: update lint-commit-msg rules (#4167) 4 years ago
docs docs(changelog): 2.1.4 4 years ago
src build: release 2.1.4 4 years ago
test [bugfix] Tabs: incorrect line position in some cases (#3961) 4 years ago
types [new feature] add sticky component (#3888) 4 years ago
.editorconfig css indent 2 spaces 6 years ago
.eslintignore [new feature] Dialog: add getContainer option (#3040) 4 years ago
.eslintrc [improvement] update lint rules (#3970) 4 years ago
.gitignore [breaking change] repaint all icons, add lots of icons (#2221) 5 years ago
.prettierrc [improvement] Search: tsx (#3028) 4 years ago
.stylelintrc [build] add stylelint-config-rational-order plugin 4 years ago
.travis.yml [build] format travis.yml 4 years ago
LICENSE update LICENSE 5 years ago
README.md [new feature] add sticky component (#3888) 4 years ago
README.zh-CN.md [Doc] update job link 4 years ago
babel.config.js [Build] enable site pwa (#3736) 4 years ago
jest.config.js [improvement] rename packages dir to src (#3659) 4 years ago
package.json build: release 2.1.4 4 years ago
postcss.config.js revert: "[Build] merge postcss config to package.json" 4 years ago
tsconfig.json [improvement] rename packages dir to src (#3659) 4 years ago
yarn.lock [bugfix] Tabbar: avoid navigation duplicated (#4147) 4 years ago

README.md

logo

Mobile UI Components built on Vue

npm version Coverage Status Build Status downloads downloads JS Gzip Size CSS Gzip Size

🔥 文档网站   🇨🇳 中文版介绍   🚀 小程序版


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 6+.

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

MIT