1、npm i amfe-flexible
2、npm i postcss-px2rem
3、vue项目中package.json文件中添加如下配置
"postcss": {
"plugins": {
"autoprefixer": {},
"postcss-px2rem": {
"remUnit": 192
}
}
}
1、npm i amfe-flexible
2、npm i postcss-px2rem
3、vue项目中package.json文件中添加如下配置
"postcss": {
"plugins": {
"autoprefixer": {},
"postcss-px2rem": {
"remUnit": 192
}
}
}