Tailwind CSS + PostCSS + BrowserSync boilerplate

  • By Pouya Saadeghi
  • Last update: Oct 4, 2022
  • Comments: 0

Tailwind CSS + PostCSS + BrowserSync boilerplate

πŸ’‘ Features

  • Tailwind CSS, AutoPrefixer, PurgeCSS and CSSnano configed in PostCSS
  • [Optional] automatically download google fonts using get-google-fonts

πŸ„β€β™€οΈ How to use

  • Use npm run fonts to download font files from google fonts to /assets
  • Use npm run dev to generate CSS from style.tailwind.css to /assets
  • Use npm run prod to generate CSS and Purge it and Minify it
  • Use npm run watch to watch for changes and run browser-sync