evrone / postcss-px-to-viewport

A plugin for PostCSS that generates viewport units (vw, vh, vmin, vmax) from pixel units. The best choice to create a scalable interface on different displays by one design size.
https://evrone.com/postcss-px-viewport
MIT License
2.98k stars 401 forks source link

postcss-px-to-viewport: postcss.plugin was deprecated. #144

Open acodercat opened 1 year ago

acodercat commented 1 year ago

please update postcss to 8.

iTonyYo commented 1 year ago

Is there any substitute? It feels like this project has not been maintained for several years.

Ding95 commented 1 year ago
image
LuoRiWuSheng commented 1 year ago

使用 cnjm-postcss-px-to-viewport 或者 postcss-px-to-viewport-8-plugin 包都可以, 配置和 postcss-px-to-viewport 是一样的

支持 postcss @8.x 版本