ycs77 / inertia-laravel-components
This package is abandoned and no longer maintained.
No replacement package was suggested.
The Inertia.js Laravel & Vue components library
v0.4.2
2024-05-14 17:21 UTC
Requires
- php: >=7.3
- inertiajs/inertia-laravel: >=0.3.6
- laravel/framework: ^7.0|^8.0|^9.0|^10.0
README
Important
This package is only supported Laravel v7~v10, it's recommended to use Inertia Engage package instead with Laravel 11+ usage.
The Inertia.js Laravel & Vue components library.
Components list:
Installation
Install the package via composer:
composer require ycs77/inertia-laravel-components
Error Handler
Publish error page:
php artisan vendor:publish --tag=inertia-error-vue
# or ts
php artisan vendor:publish --tag=inertia-error-vue-ts
Change extends handler class:
app/Exceptions/Handler.php
use Inertia\Exceptions\Handler as ExceptionHandler; class Handler extends ExceptionHandler
Pagination
Publish pagination css file:
php artisan vendor:publish --tag=inertia-pagination-css
Publish pagination component:
php artisan vendor:publish --tag=inertia-pagination-vue
# or ts
php artisan vendor:publish --tag=inertia-pagination-vue-ts
License
The MIT License (MIT). Please see License File for more information.