I have installed passport in my laravel project 4-5 days ago. Now I am trying to create token but is showing this error.
I have refreshed the migration, run the passport:install and passport:keys command but noting is working.
The same issue is with create client.
Check ur browser console errors.
I think i figure out the problem when i run the project with
php artisan serve
the project works normal.

When I try to run it directly
How can I resolve these errors.
As though its because project running under subdirectory.
You have two options point server to the public folder of your laravel project or fix route in the vue js.
Thank you it was really helpful.
i cant find route on vuejs ... can you help me @LeonAlvarez
@shofin-islam /resources/assets/js/components/Clients.vue
change it but not works, may be controller not working, i need to change the base url for vuejs. so that all function will work. can you help me to out this. @LeonAlvarez
Most helpful comment
I think i figure out the problem when i run the project with
the project works normal.

When I try to run it directly
How can I resolve these errors.