feat: install and configure Inertia.js with React

- Install inertia-laravel, @inertiajs/react, react, @vitejs/plugin-react
- Add HandleInertiaRequests middleware registered in web group
- Create Inertia root template (resources/views/app.blade.php)
- Add React entry point and page components (resources/js/)
- Add Inertia demo route (/inertia-test)
- HomeController reverted to Blade (index page stays original)
- Remove inertia-test2 test route
This commit is contained in:
root
2026-05-25 15:15:14 +02:00
parent 4ce68720bb
commit 943d5bfc38
59 changed files with 1382 additions and 293 deletions
+1
View File
@@ -16,6 +16,7 @@
"filament/filament": "^5.0",
"flowframe/laravel-trend": "0.4.99",
"guzzlehttp/guzzle": "^7.2",
"inertiajs/inertia-laravel": "^3.1",
"laravel/fortify": "^1.16",
"laravel/framework": "^13.0",
"laravel/octane": "^2.17",