承接 ycs77/inertia-engage 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

ycs77/inertia-engage

Composer 安装命令:

composer require ycs77/inertia-engage

包简介

Opinionated Inertia.js Laravel & Vue helper library, to scaffolding and extended your Inertia.js application.

README 文档

README

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

Opinionated Inertia.js Laravel & Vue helper library, to scaffolding and extended your Inertia.js application.

Features:

Supported Versions

Version Laravel Version
1.x 11.x
2.x 12.x
3.x 13.x

Installation

Install the package via composer:

composer require ycs77/inertia-engage

Publish the config file is optional:

php artisan vendor:publish --tag=inertia-engage-config

Then install the Inertia.js scaffold into this application:

php artisan inertia:install
# or export with TypeScript
php artisan inertia:install --ts

Or just initialize the Laravel application:

php artisan laravel:initial

Error Handler

If you running the inertia:install command, below will automatically added.

Publish the error page:

php artisan inertia:ui error
# export with TypeScript
php artisan inertia:ui error --ts

Then extends the exception handler for Inertia application:

bootstrap/providers.php.php

<?php

use Illuminate\Foundation\Configuration\Exceptions;
use Illuminate\Http\Request;
use Inertia\Inertia;
use Symfony\Component\HttpFoundation\Response;

->withExceptions(function (Exceptions $exceptions) {
    $exceptions->respond(function (Response $response, Throwable $e, Request $request) {
        return Inertia::exception()->handle($request, $response, $e);
    });
})

Pagination

Publish pagination component and css file:

php artisan inertia:ui pagination
# or export with TypeScript
php artisan inertia:ui pagination --ts

IDE Helper

If missing the IDE helper file in the Inertia Laravel package, you can publish the IDE helper file:

php artisan inertia:ide-helper

License

The MIT License (MIT). Please see License File for more information.

统计信息

  • 总下载量: 40
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-05-15

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固