2.1.2 • Published 4 years ago
cra-template-tailwindcss-devbuzz v2.1.2
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-typescriptExperimental 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!
2.1.2
4 years ago