Skip to content

Tailwind boilerplate to generate JIT build without setting up NPM in each project

Notifications You must be signed in to change notification settings

learn-awesome/twinkle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twinkle CSS

This repo allows you to generate Tailwind CSS' JIT build - which enables many features - without being forced to use NPM in each of your project.

Specify paths to your HTML/template files for real-time purging

Modify purge option in tailwind.config.js

Change output file location

Modify css:build and css:watch scripts in package.json

To start the JIT build in watcher mode:

npm run css:watch

For a one-time build:

npm run css:build

This will produce twinkle.min.css which will be purged as per tailwind.config.js and minified by cssnano.

About

Tailwind boilerplate to generate JIT build without setting up NPM in each project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published