vant组件库 安装代码 npm i vant@latest-v2 在src下的index.js配置 import Vue from 'vue' ; import Vant from 'vant '; import 'vant/lib/index.css ' ; Vue.use(Vant);