├── README.md ├── package.json ├── src └── index.html ├── style.css ├── tailwind.config.js └── tailwind.css /README.md: -------------------------------------------------------------------------------- 1 | # TailwindCSS V2 Jit(Just in Time) Mode Template 2 | Run : npm run watch
3 | That's it; you can now begin working on your project by editing src/index.html.
4 | [Just in time docs](https://v2.tailwindcss.com/docs/just-in-time-mode) 5 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "template", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "tailwind.config.js", 6 | "scripts": { 7 | "build": "npx tailwindcss -i tailwind.css -o style.css --minify ", 8 | "watch": "npx tailwindcss -i tailwind.css -o style.css -w --minify " 9 | }, 10 | "keywords": [], 11 | "author": "", 12 | "license": "ISC" 13 | } 14 | -------------------------------------------------------------------------------- /src/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | TailwindCSS V2 Template 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/06ergin06/tailwindcss_v2_jit_template/865ebe8a30baf7afbb2699103a75c5e02535cec7/style.css -------------------------------------------------------------------------------- /tailwind.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | mode: 'jit', 3 | purge: ['./**/*.html'], 4 | darkMode: 'class', // or 'media' or 'class' 5 | theme: { 6 | extend: {}, 7 | }, 8 | variants: { 9 | extend: {}, 10 | }, 11 | plugins: [], 12 | } 13 | -------------------------------------------------------------------------------- /tailwind.css: -------------------------------------------------------------------------------- 1 | @tailwind base; 2 | @tailwind components; 3 | @tailwind utilities; 4 | 5 | --------------------------------------------------------------------------------