/preset-tailwindcss

DEPRECATED: Statamic 3 starts with TailwindCSS out of the box.

Primary LanguagePHPMIT LicenseMIT

Statamic Frontend Preset for Tailwind CSS

A Statamic front-end scaffolding preset for Tailwind CSS.

Statamic 3.0+ Tailwind 1.2+

Usage

In a fresh install of Statamic 3, run the following commands.

  1. Install this preset package
composer require statamic/preset-tailwindcss
  1. Run the preset artisan command
# For a clean install
php artisan preset tailwindcss-clean

# To add to your current resources
php artisan preset tailwindcss
  1. Install NPM dependencies and run webpack
npm install && npm run dev