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
-
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-cli
postcss.config.js
file at at the root of the project. (later we'll let user chooses the location of the postcss config file)postcss
to theuse
array of a registered style:How to use Tailwind
All of the above ☝️ +
$ npm install --save-dev tailwind
postcss.config.js
, add tailwind to the list of required plugins:tailwind
to theuse
array 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 listpostcss
in theuse
array.Beta Was this translation helpful? Give feedback.
All reactions