update
This commit is contained in:
parent
e2c3ad87dc
commit
b1c39d1699
@ -22,6 +22,7 @@ yarn add vant
|
|||||||
```
|
```
|
||||||
### 安装postcss-pxtorem 这个是将px转为rem
|
### 安装postcss-pxtorem 这个是将px转为rem
|
||||||
在package.json配置
|
在package.json配置
|
||||||
|
```
|
||||||
"postcss": {
|
"postcss": {
|
||||||
"plugins": {
|
"plugins": {
|
||||||
"autoprefixer": {
|
"autoprefixer": {
|
||||||
@ -38,6 +39,7 @@ yarn add vant
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
```
|
||||||
到此位置配置就完成了
|
到此位置配置就完成了
|
||||||
然后就可以使用官方的引入方式了
|
然后就可以使用官方的引入方式了
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user