🚀 Shuvro Roy's Laravel Frontend Preset
A Laravel front-end scaffolding preset for Tailwind CSS - a Utility-First CSS Framework for Rapid UI Development 👌🏻
What it includes:
- Tailwind CSS
- postcss-nesting for nested CSS support
- Purgecss, via spatie/laravel-mix-purgecss
- Vue.js
- Removes Bootstrap and jQuery
Installation
Run this command to add the preset to your project:
composer require shuvroroy/laravel-preset
Apply the scaffolding by running:
php artisan preset tailwind
With authentication layout, apply the scaffolding by running:
php artisan preset tailwind:auth
Then run this command
npm install
To generate a Tailwind config file for your project, apply the scaffolding by running:
./node_modules/.bin/tailwind init tailwind.js
Then update the setting in webpack.mix.js file:
require('tailwindcss')('./tailwind.js')
Then run this command
npm run dev
Screenshots
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.