2.1.2 • Published 3 years ago

cra-template-tailwindcss-devbuzz v2.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

cra-template-tailwindcss-typescript

All Contributors

A streamlined Tailwind CSS v2.0 template for Create React App in TypeScript.

Usage

npx create-react-app my-app --template tailwindcss-typescript

Experimental JIT mode

You can enable Just-in-Time "JIT" mode by uncommenting mode: "jit" in tailwind.config.js.

IMPORTANT: Do NOT comment purge when you enable JIT mode, otherwise your CSS will be empty!

module.exports = {
  // Uncomment the line below to enable the experimental Just-in-Time ("JIT") mode.
  // 👇👇👇👇👇
  // mode: "jit",
  theme: {
    extend: {},
  },
  // other options...
};

Credits

This project was made possible thanks to the following projects.

  1. GeoffSelby/cra-template-tailwindcss - A streamlined Tailwind CSS template for Create React App (in JavaScript).
  2. cra-template-typescript - An official TypeScript template for create-react-app.

License

MIT © Sung M. Kim

Contributors ✨

Thanks goes to these wonderful people (emoji key):

This project follows the all-contributors specification. Contributions of any kind welcome!