Skip to content

michelegera/create-tailwindcss-boilerplate

main
Switch branches/tags
Code

Latest commit

Bumps [ajv](https://github.com/ajv-validator/ajv) from 6.12.2 to 6.12.6.
- [Release notes](https://github.com/ajv-validator/ajv/releases)
- [Commits](ajv-validator/ajv@v6.12.2...v6.12.6)

---
updated-dependencies:
- dependency-name: ajv
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
a00b7cd

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Create Tailwind CSS Boilerplate

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.

Getting started

Requirements

Yarn is suggested, but not required. The project will be set up with npm if Yarn is not found.

Create boilerplate

$ yarn create tailwindcss-boilerplate

# or

$ npx create-tailwindcss-boilerplate

Follow 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 dependencies

Run server

$ yarn dev

Open your favorite text editor and start coding!

Build for production

$ yarn build

Build files will end up in /dist.

Contributing

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!

Acknowledgments

This project piggybacks on the excellent TailwindCSS + Parcel + PurgeCSS Starter Project by didiercatz. Check out his blog post on getting started with Tailwind CSS.