# Using npm
npm i @femessage/vant -S
# Using yarn
yarn add @femessage/vant
Tips: Please install Vant 3.0 for Vue 3 projects, see issue#7035
import Vue from 'vue';
import { Button } from '@femessage/vant';
import '@femessage/vant/lib/index.css';
Vue.use(Button);
See more in Quickstart.
# local dev and preview site
yarn dev
# using eslint to check code style
yarn lint
# run unit test
yarn test
# build lib
yarn build:lib
# build site
yarn build:site
# publish lib to npm
yarn release
# publish site to github pages
yarn release:site
Please make sure to read the Contributing Guide before making a pull request.
Modern browsers and Android 4.0+, iOS 7+.