How to config PX to VW ('postcss-px-to-viewport')


#1

Framework7 vue , how can i config my project use ‘vw’ replace ‘px’, i do not know how do use ‘postcss-px-to-viewport’ and config …?


#2

For webpack, you first of all need to install postcss-loader https://github.com/postcss/postcss-loader and then install it as postcss plugin