vue react PC/移动端 lib-flexible postcss-px2rem 一套自适应方法
安装lib-flexiblepostcss-px2rem两个包npmilib-flexible--savenpmipostcss-px2rem--savevue在main.js中引入,react在index.js中引入import'lib-flexible'modul文件夹中找到lib-flexible->flexible.jsfunctionrefreshRem(){varwidth=docEl