This is just a couple lines of code on a bunch of files showing how to use Parcel and TailwindCSS together.
Right now it's using postcss-cli to watch Tailwind's config file because I couldn't find any other way to make it work. If you know how this should be done, please open an issue to discuss it and/or submit a PR.
Clone this repository, run pnpm install and you should be ready to go.
- Development:
pnpm startwill run a development server with hot reloading at localhost:1234 - Production:
pnpm buildwill bundle everything up on your/distfolder