cra-template-tailwindcss-devbuzz
v2.1.2
Published
A streamlined Tailwind CSS template for Create React App
Downloads
1
Maintainers
Readme
cra-template-tailwindcss-typescript
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.
- GeoffSelby/cra-template-tailwindcss - A streamlined Tailwind CSS template for Create React App (in JavaScript).
- 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!