A bare-bones Tailwind CSS boilerplate.
It creates a simple HTML + CSS template with Tailwind CSS support, served by Parcel and using PurgeCSS in production builds.
Yarn is suggested, but not required. The project will be set up with npm if Yarn is not found.
yarn create tailwindcss-boilerplate
# or
npx create-tailwindcss-boilerplateFollow instructions at the prompt to create your project:
? Name your project root directory my-project
✔ Create directory structure
✔ Create project files
✔ Create templates
✔ Set up dependenciesyarn devOpen your favorite text editor and start coding!
yarn buildBuild files will end up in /dist.
If you want to add a feature, fix a bug or propose a change, please feel free to submit an issue or open a pull request.
Thanks to all the contributors!
This project piggybacks on the excellent TailwindCSS + Parcel + PurgeCSS Starter Project by didier. Check out his blog post on getting started with Tailwind CSS.