vue cli3 + cube-ui recording pit configuration step rem

 

 When the install cube-ui, select the compiler, select the Use rem will find the time, how to refresh the page html font is set to become 37.5px

 

 Feeling too great, then went to look for ways to modify the first reaction is webpack configuration, so to modify the package.json

 

 Then excitedly restart

It was found still 37.5px. . .

I hate it, and checked almost say a day on the line configuration change webpack

at last! Find a lamp (link then attach)

We need to modify the node_modules in amfe-flexible index.js

 

 Because the width of the use of debugging I iphone6 ​​/ 7/8 is 375px. . 37.5 is originally came about

Attach the original address: https://www.cnblogs.com/dudu123/p/10067643.html

Guess you like

Origin www.cnblogs.com/zhuxingqing/p/11570845.html