-
-
Notifications
You must be signed in to change notification settings - Fork 436
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Laravel + React + Breeze Url Twice time Issue #2088
Comments
Hi, how do you setup this project? I'm curious because the url you open is The tutorial called Laravel Bootcamp: https://bootcamp.laravel.com/inertia/installation. Feel free to visit. It covers step by step how to create and run Laravel Project using Inertia + React stack. I hope it helps. |
While php artisan serve runs completely fine, when accessing the project through localhost via the XAMPP file directory, I am getting this issue |
If you're accessing your app through |
Yes, the behaviour of XAMPP it self is not suitable to run the Laravel project because of the structure the Laravel framework itself. Laravel store the core ( |
Laragon is not maintained and has myriad issues with both PHP extensions and the latest database binaries. Just use Herd and DBngin, non-Laravel projects are trivial to serve via Valet's drivers. A proper vhost setup will resolve this issue. |
Version:
@inertiajs/react version: 1.0.0
Describe the problem:
After setting up a Laravel + React + Breeze application, I’ve noticed that sometimes the URL in my browser renders incorrectly, showing /public/ twice. For example:
### http://localhost/Ravi/inventory-main/public/Ravi/inventory-main/public/
This happens intermittently and is causing issues with how my application loads.
Steps to reproduce:
Set up a Laravel application with React and Breeze.
Access the app in the browser using http://localhost/{project-folder}/i
Occasionally, the URL will render incorrectly, showing /public/ twice, like in the example above.
The text was updated successfully, but these errors were encountered: