vant

v1.1.16
Lightweight Mobile UI Components built on Vue
youzan vue component

dev

node build/build-entry.js && webpack-serve --config build/webpack.dev.js

lint

eslint ./packages --ext .js,.vue && stylelint "packages/vant-css/src/*.css"

test

jest

release

sh build/release.sh

bootstrap

yarn || npm i && cd ./packages/vant-css/ && yarn || npm i && cd ../../

build:lib

node build/build-lib.js

precommit

lint-staged

build:site

rimraf docs/dist && cross-env NODE_ENV=production webpack --config build/webpack.doc.js && gh-pages -d docs/dist

build:vant

cross-env NODE_ENV=production webpack --color --config build/webpack.build.js && cross-env NODE_ENV=production webpack -p --color --config build/webpack.build.js

test:watch

jest --watch

test:coverage

open test/coverage/index.html

build:iconfont

gulp --gulpfile ./build/build-iconfont.js

build:vant-css

gulp build --gulpfile packages/vant-css/gulpfile.js --color --silent

build:changelog

vant-doc changelog ./docs/markdown/changelog.generated.md

build:components

node build/build-components.js --color

build:style-entry

node build/build-style-entry.js

Metadata

  • MIT
  • Whatever
  • youzanfe
  • released 8/10/2018

Downloads