justinbyrne / a-bunch-of-livewire-components
As the title suggests it, this is a bunch of Livewire components that can be reused in any Laravel app.
dev-main
2022-10-31 20:31 UTC
Requires
- php: ^8.0
- livewire/livewire: ^2.10
Requires (Dev)
- orchestra/testbench: ^7.0
- pestphp/pest: ^1.21
- pestphp/pest-plugin-laravel: ^1.1
This package is auto-updated.
Last update: 2024-10-29 06:31:14 UTC
README
As the title suggests it, this is a bunch of Livewire components that can be reused in any Laravel app.
Requirements
- Laravel 9.x
- Tailwind CSS
- Tailwind CSS Forms plugin
- Alpine.js
Installation
You can install the package via composer:
composer require justinbyrne/a-bunch-of-livewire-components
You can publish the config file with:
php artisan vendor:publish --tag="a-bunch-of-livewire-components-config"
The tailwind config will either need the vendor dir config file added of the published one.
// tailwind.config.js module.exports = { content: { "./vendor/justinbyrne/a-bunch-of-livewire-components/config/a-bunch-of-livewire-components.php", // ... }, }
Components
Autocomplete
@livewire('abolc-autocomplete', ['model' => 'App\Models\User'])