This commit is contained in:
pplokijuhyg 2019-11-25 15:23:37 +08:00
parent e2c3ad87dc
commit b1c39d1699

View File

@ -22,6 +22,7 @@ yarn add vant
```
### 安装postcss-pxtorem 这个是将px转为rem
在package.json配置
```
"postcss": {
"plugins": {
"autoprefixer": {
@ -38,6 +39,7 @@ yarn add vant
}
}
},
```
到此位置配置就完成了
然后就可以使用官方的引入方式了