由于vue-cli4.0以后没有bulid文件,在package.json文件内新增下面代码后,引用Vant组件样式即可恢复正常
"postcss": {
"plugins": {
"autoprefixer": {},
"postcss-px2rem-exclude":{
"remUnit": 37.5,
// "exclude":"/node_modules|floder_name/i"
}
}
},