wangjuanlsx
Results
2
comments of
wangjuanlsx
module.exports = { plugins: { autoprefixer: {}, 'postcss-design-convert' : { multiple: 2, units: ['rem'], selector: /.cube-/ }, 'postcss-px2rem': { remUnit: 75 } } } 调换一下这两个的位置就解决了
使用 postcss-design-convert 插件转化,没有效果,module.exports = { plugins: { autoprefixer: {}, 'postcss-px2rem': { remUnit: 75 }, 'postcss-design-convert' : { multiple: 2, units: ['rem'], selector: /\.cube-ui-/ } } }