Yao 367a23ed48 Fix waterfall hide bug (#166)
* fix: waterfall: prevent loadMore after hide

* feat: add waterfall hidden test && remove waterfall auto install

* delete useless code
2017-09-30 03:41:33 -05:00
2017-05-19 11:17:34 +08:00
2017-09-30 11:33:33 +08:00
2017-09-30 03:41:33 -05:00
2017-09-30 03:41:33 -05:00
2017-03-03 14:47:16 +08:00
2017-02-20 01:10:00 +08:00
2017-04-13 17:03:00 +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-09-28 10:46:58 +08:00
2017-09-28 10:46:58 +08:00
2017-09-29 16:48:54 +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);

Development

Start development mode:

npm run dev

Visit http://localhost:8080 to see an example of all components.

Preview

You can scan the following QR code to access the demo

zanui_vue_mobile_qrcode

LICENSE

MIT

Description
A lightweight, customizable Vue UI library for mobile web apps.
Readme MIT 162 MiB
Languages
TypeScript 66.2%
Vue 16.3%
Less 10.6%
JavaScript 6.7%
HTML 0.1%