shuvroroy / laravel-preset
Shuvro Roy's Laravel Frontend Preset
Installs: 34
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
Open Issues: 0
Language:HTML
Requires
- laravel/framework: ^5.7
This package is auto-updated.
Last update: 2024-10-29 05:22:41 UTC
README
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 shuvroshopno@gmail.com instead of using the issue tracker.