A Laravel front-end scaffolding preset for Tailwind CSS - a Utility-First CSS Framework for Rapid UI Development.
Current version: Tailwind CSS 0.4.0
- Fresh install Laravel 5.5.x and cd to your app.
- Install this preset via
composer require laravel-frontend-presets/tailwindcss
. Laravel 5.5.x will automatically discover this package. No need to register the service provider. - Use
php artisan preset tailwindcss
for the basic Tailwind CSS preset OR usephp artisan preset tailwindcss-auth
for the basic preset, auth route entry and Tailwind CSS auth views in one go. (NOTE: If you run this command several times, be sure to clean up the duplicate Auth entries inroutes/web.php
) npm install
npm run dev
- Configure your favorite database (mysql, sqlite etc.)
php artisan migrate
to create basic user tables.php artisan serve
(or equivalent) to run server and test preset.
If you want to change the default orange colour being used, update the brand-{modifier}
values in your tailwind.js
file. You are of course free to modify this file as you see fit, and even remove and replace the brand configuration in the scaffolded views entirely.