Skip to content

A template for creating a react project with tailwindcss already configured.

License

Notifications You must be signed in to change notification settings

angelmtztrc/cra-template-tailwindcss-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cra-template-tailwindcss-starter

npm npm version

This is a create-react-app template for create a react project with tailwindcss already configured.

Usage

To use this template, you should run the following command in your terminal / cmd.

npx create-react-app your-app-name --template tailwindcss-starter
# or
yarn create react-app you-app-name --template tailwindcss-starter

Extra

  • You can completely edit the tailwind.config.js file to add your custom values
  • This template includes a plugin to organize the classes in your files with the help of prettier. You only need to run:
    npm run format
    # or
    yarn format

This project use

All the important libraries that the project use.

  • create-react-app
  • tailwindcss
  • postcss
  • cross-env
  • prettier / prettier-plugin-tailwind
  • craco

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Please make sure to update tests as appropriate.

MIT LICENSE - Angel Martinez