/tailwindcss-postcss-browsersync-boilerplate

Tailwind CSS + PostCSS + BrowserSync boilerplate

Primary LanguageJavaScript

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