Feature: How to use PostCSS and/or Tailwind WIP #15
regisphilibert
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Tis is a WIP detailed walkthrough. Use with care.
How to use PostCSS.
Useer will need to setup PostCSS on the project.
$ npm install --save-dev postcss postcss-clipostcss.config.jsfile at at the root of the project. (later we'll let user chooses the location of the postcss config file)postcssto theusearray of a registered style:How to use Tailwind
All of the above ☝️ +
$ npm install --save-dev tailwindpostcss.config.js, add tailwind to the list of required plugins:tailwindto theusearray of a registered style. This will make sure any css in the file is wrapped with the tailwind goodies, and also run PostCSS on the style. If user does not want HUGE to add the tailwind methods, and create the tailwind stylesheet themselves, they should only listpostcssin theusearray.Beta Was this translation helpful? Give feedback.
All reactions