You've already forked Atomcms-edit
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:
@@ -52,7 +52,11 @@
|
||||
"vite": "^8.0.3"
|
||||
},
|
||||
"dependencies": {
|
||||
"@inertiajs/react": "^3.2.0",
|
||||
"@vitejs/plugin-react": "^6.0.2",
|
||||
"flowbite": "2.5.2",
|
||||
"react": "^19.2.6",
|
||||
"react-dom": "^19.2.6",
|
||||
"sass": "1.83.4",
|
||||
"swiper": "^12.1.3"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user