In the Vue project, vw is used to implement mobile adaptation, and other ui component libraries such as how to deal with the reduction of mint-ui style are introduced later.

has any development partner encountered this problem? after the PostCSS plug-in list is installed, there is no problem in writing your own style, but when you want to reference someone else"s component library, the view size of vw changes, and you don"t know which configuration file to modify. In this case, you have this problem when referencing other plug-ins. How to deal with it with the help of friends who solve this problem,
/
clipboard.png

Sep.17,2021

then only do not let the styles in mint-ui be converted to vw .

clipboard.png
]


I just write another style and rewrite the style size of this component.


other frameworks adapt in different ways. Of course, there are conflicts. Rewrite the size of those styles directly, or set selectorBlackList: [.hairlines', '.hairlines']. You need to add the class name of mint-ui. This sentence is to add the class name to you. You can't just follow the default. You can see what the class name of mint-ui is. Add


I also encounter this problem, how to solve the problem? I'm going to use the vw plugin

.
Menu