项目作者: michelegera

项目描述 :
🌬A bare-bones Tailwind CSS boilerplate
高级语言: JavaScript
项目地址: git://github.com/michelegera/create-tailwindcss-boilerplate.git
创建时间: 2020-04-25T16:33:44Z
项目社区:https://github.com/michelegera/create-tailwindcss-boilerplate

开源协议:MIT License

下载


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

  1. yarn create tailwindcss-boilerplate
  2. # or
  3. npx create-tailwindcss-boilerplate

Follow instructions at the prompt to create your project:

  1. ? Name your project root directory my-project
  2. Create directory structure
  3. Create project files
  4. Create templates
  5. Set up dependencies

Run server

  1. yarn dev

Open your favorite text editor and start coding!

Build for production

  1. 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 didier. Check out his
blog post on getting started with Tailwind CSS.