fuelviews/laravel-layouts-wrapper
最新稳定版本:v0.0.19
Composer 安装命令:
composer require fuelviews/laravel-layouts-wrapper
包简介
Laravel layouts wrapper package
README 文档
README
Laravel layouts wrapper package
Installation
You can install the package via composer:
composer require fuelviews/laravel-layouts-wrapper:^0.0
You can publish the config file with:
php artisan vendor:publish --tag="layouts-wrapper-config"
This is the contents of the published config file:
return [ // Enable or disable Google Tag Manager 'gtm_enabled' => false, // Enable or disable Livewire 'livewire_enabled' => true, // Enable or disable Navigation 'navigation_enabled' => true, // Enable or disable Forms Modal 'forms_modal_enabled' => true, // Enable or disable Forms Modal 'forms_modal_enabled' => true, ];
Optionally, you can publish the views using
php artisan vendor:publish --tag="layouts-wrapper-views"
Usage
Wrap your blade files using:
<x-layouts-wrapper::layouts.app>
<div class="h-screen">
<div class="flex w-full h-full bg-gray-300">
</div>
</div>
</x-layouts-wrapper::layouts.app>
Tailwindcss classes
Add laravel-forms to your tailwind.config.js file:
content: [ './vendor/fuelviews/laravel-*/resources/**/*.{js,vue,blade.php}', ]
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 401
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-07-10