PostCSS plugin postcss-pxtorem requires PostCSS 8
时间: 2023-11-02 16:19:43 浏览: 210
A级景区数据文件json
Yes, the PostCSS plugin postcss-pxtorem requires PostCSS 8. This means that you need to have PostCSS 8 installed in your project in order to use the postcss-pxtorem plugin. You can install PostCSS 8 by running the following command:
```
npm install postcss@8
```
After installing PostCSS 8, you can then install and configure the postcss-pxtorem plugin to convert pixel values to rem units in your CSS.
阅读全文