Forked from Adam Wathan's Laravel Frontend Preset
This preset includes:
- Tailwind CSS
- 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
- Add support for Server-side apps with client-side rendering. Learn more at [https://reinink.ca/articles/server-side-apps-with-client-side-rendering]
- Replaces the
welcome.blade.php
template with a full page vue component template.
This package isn't on Packagist (yet), so to get started, add it as a repository to your composer.json
file:
"repositories": [
{
"type": "vcs",
"url": "https://github.com/marklj/laravel-preset"
}
]
Next, run this command to add the preset to your project:
composer require shore/laravel-preset --dev
Finally, apply the scaffolding by running:
php artisan preset shore