I am using laravel 11 with inertia vuejs. I have two seperate route one is api and one is admin. Full application working perfectly on local but when I upload to server than show not found on web route.
Web route is admin using Inertia vue but api did work perfectly.
please help me
2
Answers
I solved this error. The problem is on my custom ServicePorvider. Thanks for answer.
Check Web Route Configuration:
Double-check your web.php or admin.php route file to ensure that all routes for the admin panel are defined correctly and that no conditions or middleware are preventing them from loading. Also, ensure that you’re using the correct route definitions for Inertia:
If Web Route Configuration is correctly, Ensure that your Inertia routes are correctly configured to point to Vue components in the admin route: