dilansabah/laravel-inertia-vue 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

dilansabah/laravel-inertia-vue

最新稳定版本:v1.1.0

Composer 安装命令:

composer require dilansabah/laravel-inertia-vue

包简介

Laravel package to install Inertia.js with Vue 3 setup

README 文档

README

Laravel Inertia Vue Starter 🚀

Laravel Inertia Vue Starter is a developer-friendly package designed to simplify the integration of Inertia.js with Vue 3 in Laravel applications. It automates dependency installation, scaffolds essential files, and provides a smooth setup experience with intelligent features like safe file handling, overwrite prompts, middleware auto-registration, and setup guidance when conflicts occur.

Features:

  • Automatic installation of Inertia.js (Laravel adapter)
  • Vue 3 + Inertia frontend setup
  • Vite configuration ready to use
  • Smart dependency detection (no duplicate installs)
  • Safe file handling (no unwanted overwrites)
  • Interactive overwrite confirmation
  • --force option for full overwrite
  • Auto-generated setup guide when files are skipped
  • Automatic Inertia middleware creation and registration
  • Clean and beginner-friendly setup

Installation: composer require dilansabah/laravel-inertia-vue php artisan inertia-vue:install npm run dev

What the Package Does:

  • Installs inertiajs/inertia-laravel
  • Installs npm packages: vue, @inertiajs/vue3, @vitejs/plugin-vue
  • Creates or updates: resources/js/app.js resources/js/Pages/Home.vue resources/views/app.blade.php vite.config.js
  • Creates HandleInertiaRequests middleware
  • Registers middleware automatically in bootstrap/app.php
  • Adds helpful comment in routes/web.php
  • Generates setup guide if files are skipped

Skipped Files Handling: If important files already exist, the package:

  • Asks before overwriting
  • Skips if declined
  • Generates inertia-vue-setup.md with instructions

Force Overwrite: php artisan inertia-vue:install --force

Generated Structure: resources/js/app.js resources/js/Pages/Home.vue resources/views/app.blade.php vite.config.js app/Http/Middleware/HandleInertiaRequests.php

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-03-23

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固