ycs77 / inertia-laravel-components

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Inertia.js Laravel Components

Latest Version on Packagist Software License Style CI Build Status Total Downloads

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.

About

License:MIT License


Languages

Language:PHP 59.6%Language:Vue 36.6%Language:CSS 3.8%