Add Inertia.js support and middleware configuration
- Updated composer.json to include inertiajs/inertia-laravel dependency. - Modified app.php to register HandleInertiaRequests middleware. - Updated package.json with new dependencies for React and Vite. - Enhanced vite.config.js to include React plugin. - Created HandleInertiaRequests middleware for Inertia.js integration.
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
"license": "MIT",
|
||||
"require": {
|
||||
"php": "^8.2",
|
||||
"inertiajs/inertia-laravel": "^2.0",
|
||||
"laravel/framework": "^12.0",
|
||||
"laravel/tinker": "^2.10.1"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user