vue 移动端屏幕适配
时间:2019-08-01 14:21:08
收藏:0
阅读:93
https://github.com/evrone/postcss-px-to-viewport/blob/master/README_CN.md
基本配置
// eslint-disable-next-line no-undef module.exports = { plugins: { "postcss-px-to-viewport": { viewportWidth: 375, // viewportHeight: 667, unitPrecision: 2, viewportUnit: ‘vw‘, selectorBlackList: [], minPixelValue: 1, mediaQuery: false } } };
原文:https://www.cnblogs.com/tongbiao/p/11281698.html
评论(0)