The purpose of this project is to act as a starter codebase for working with TailwindCSS and bare HTML inspired by devdojo blog post Extracting TailwindCSS from HTML.
-
Initialize required files
npm run init
or
yarn run init
-
Compile CSSes using purgeCSS
npm run build
or
yarn run build
-
Compile and minify CSSes using purgeCSS and CSSNano
npm run build:minify
or
yarn run build:minify