forestryio / create-static-site

Create static websites with no build configuration.
MIT License
135 stars 10 forks source link

How to integrate with Tailwind #36

Open ncphillips opened 6 years ago

ncphillips commented 6 years ago

Figure this out and add a section to the README

budparr commented 6 years ago

You may be considering this elsewhere, but in my view, Tailwind is only viable with PurgeCSS, or another like it.

chrisdmacrae commented 6 years ago

I think this is a perfect example of a "fork" of static-scripts, i.e, create-static-site-tailwindjs

ncphillips commented 6 years ago

I should note that I am not at all familiar with Tailwind, so I am deferring to the community until I get a chance to do my research

chrisdmacrae commented 6 years ago

@ncphillips

Here's an example of Tailwinds with CRA: https://medium.com/@mikeeeeeeey/create-react-app-tailwind-css-feat-postcss-631d9e33ba8c

But in reality, you'll want it as part of your PostCSS plugins, so that's a separate instance of C-S-S.