Yao b7dd98c428 [new feature] Docs: contribute.md 移动至 .github 下 (#212)
* move contribute to .github

* fix wrong name

* move markdown.md to .github
2017-10-16 20:23:48 +08:00
2017-10-11 19:05:03 +08:00
2017-03-03 14:47:16 +08:00
2017-02-20 01:10:00 +08:00
2017-09-30 17:27:55 +08:00
2017-07-20 14:35:08 +08:00
2017-04-25 20:19:00 +08:00
2017-04-20 10:38:29 +08:00
2017-10-16 16:28:59 +08:00
2017-10-16 16:28:59 +08:00

有赞logo

项目logo

A Vue.js 2.0 Mobile UI at YouZan

Build Status Coverage Status npm version downloads

访问中文版

Install

npm i -S vant

Usage

// .babelrc or babel-loader option
{
  "plugins": [
    ["import", { "libraryName": "vant", "style": true }]
  ]
}

Then you can import components from vant, equivalent to import manually below.

// import js and css modularly, parsed by babel-plugin-import
import { Button } from 'vant';

Manually import

import { Button } from 'vant';
import 'vant/lib/vant-css/button.css';

Import all components

import Vue from 'vue';
import vant from 'vant';
import 'vant/lib/vant-css/index.css';

Vue.use(vant);

How to contribute

Please make sure to read the Contributing Guide before making a pull request.

Preview

You can scan the following QR code to access the demo

zanui_vue_mobile_qrcode

LICENSE

MIT

Description
No description provided
Readme MIT 102 MiB
Languages
TypeScript 63.5%
Vue 16.7%
Less 11.7%
JavaScript 7.7%
HTML 0.2%
Other 0.1%