-
Initialize Tailwind and Activate JIT
-
- run
npx tailwindcss -i ./src/styles.css -o ./build/styles.css --JIT --purge="./*.html" --watch
- run
-
Initializing using tailwind config
-
- run
npx tailwindcss init
- run
-
- open tailwind.config.js
-
- add property
mode: 'jit',
- add property
-
- set purge to all html files
purge: ['./*.html'],
- set purge to all html files
-
- run command
npx tailwindcss -i ./src/styles.css -o ./build/styles.css --watch
- run command
developer-junaid/TailwindCss-JIT
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Tailwindcss JIT Tutorial
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published