ptournet / laravel-preset
Patrick Tournet's Laravel Frontend Preset (based on Adam Wathan's one)
v0.5.1
2019-01-23 17:36 UTC
Requires
- laravel/framework: ^5.7
This package is auto-updated.
Last update: 2024-09-24 06:46:46 UTC
README
(based on Adam Wathan's one)
A Laravel frontend preset that scaffolds out new applications just the way I like 'em!
What it includes:
- Tailwind CSS with a configuration file
- postcss-nesting for nested CSS support
- Purgecss, via spatie/laravel-mix-purgecss
- Vue.js
- Removes Bootstrap and jQuery
- Adds compiled assets to
.gitignore
- Adds a simple Tailwind-tuned default layout template
- Replaces the
welcome.blade.php
template with one that extends the main layout
Installation
This package being now on Packagist, you just have to run this command to add the preset to your project:
composer require ptournet/laravel-preset --dev
Finally, apply the scaffolding by running:
php artisan preset mine
Roadmap
I intend to implement the following features :
- Replace the
make:auth
templates with simplified ones styled with Tailwind CSS - Create a new
tailvue
preset replacing all the original templates with visually identical content Tailwind styled (could end up being a PR in Laravel) - Of course, update Tailwind, Vue.js, postcss, Purgecss and Laravel to the most recent versions