A Statamic front-end scaffolding preset for Tailwind CSS.
In a fresh install of Statamic 3, run the following commands.
- Install this preset package
composer require statamic/preset-tailwindcss
- Run the preset artisan command
# For a clean install
php artisan preset tailwindcss-clean
# To add to your current resources
php artisan preset tailwindcss
- Install NPM dependencies and run webpack
npm install && npm run dev