You can install the package via composer:
composer require fuelviews/laravel-sabhero-wrapper
You can publish the config file with:
php artisan vendor:publish --tag="sabhero-wrapper-config"
This is the contents of the published config file:
return [
// Enable or disable Livewire
'livewire_enabled' => true,
// Enable or disable Navigation
'navigation_enabled' => true,
// Enable or disable footer
'footer_enabled' => true,
// Enable or disable Forms Modal
'forms_modal_enabled' => false,
// Enable or disable Google Tag Manager
'gtm_enabled' => false,
];
Optionally, you can publish the views using
php artisan vendor:publish --tag="sabhero-wrapper-views"
Wrap your blade files using:
<x-sabhero-wrapper::layouts.app>
<div class="h-screen">
<div class="flex w-full h-full bg-gray-300">
</div>
</div>
</x-sabhero-wrapper::layouts.app>
Add laravel-forms to your tailwind.config.js file:
content: [
'./vendor/fuelviews/laravel-*/resources/**/*.{js,vue,blade.php}',
]
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.