1.全局安装vant
cnpm i vant -S
2.全局引入vant
import Vant from 'vant';
import 'vant/lib/index.css';
Vue.use(Vant);