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
3.04k stars 406 forks source link

How to use in clojurescript? #42

Closed qdhaiqiang closed 4 years ago

qdhaiqiang commented 4 years ago

I am using reagent+hiccup+shadow-cljs in my web project, I also want to use this plugins.

There are a lot of introductions in blog, included Parcel、webpack、Gulp and so on,then how can i use in clojurescript project?

KODerFunk commented 4 years ago

This is only plugin for PostCSS and you already have answer from PostCSS (host-lib of this plugin) creator @ai: https://github.com/postcss/postcss/issues/1300

From me some research topic: https://www.reddit.com/r/Clojure/comments/8mco9g/how_to_use_tailwind_css_with_clojurescript/

qdhaiqiang commented 4 years ago

Thank you very much, and I had push my own plugins on github. It is used on emacs conveniently.

px2vw-emcas-plugin

Thanks again