Replies: 1 comment
-
Temporary solution using this forked version feature-ninja/inertia-laravel#1 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Installing new Laravel app with Breeze & Vue causing an error when accessing without
php artisan
command.So, I was configure the apache alias to point to the public folder of the application:
And add
RewriteBase
setting to thepublic/.htaccess
file:Everything is fine when accessing non-inertia route:
Access with http://localhost/laravel-app/hello - OK
But, when accessing inertia route, it will automatically redirecting to the wrong URL:
Access with http://localhost/laravel-app/hello-inertia REDIRECTED TO http://localhost/laravel-app/laravel-app/hello-inertia
Why this happening and how to solve it?
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions