PostCSS 配置 基本配置 其他配置 其它 基本配置 // PostCSS 配置文件 module.exports = { // 配置要使用的 PostCSS 插件 plugins: { // 配置使用 postcss-pxtorem 插件 // 作用:把 px 转为 rem 'postcss-pxtorem': { // lib-flexible 的 REM 适配方案:把一行分为10分,每份占十分之一 // 因此 rootValue