http://laravelacademy.org/pos...
Using the documentation to build it step by step to the third step
Then something went wrong here
This is a pitfall, and I haven’t been able to find a solution. It has been solved. It turns out that after logging in with auth, the vue component is placed in home.blade.php
https://laravel-china.org/top...
Then I found this tutorial. When the route jumps below, the program responsible for the api jumps directly to the login route, and then checks the route list to find the API interface. They all use auth middleware. I followed the tutorial documents step by step. Why is this happening? . .
http://laravelacademy.org/pos...
Using the documentation to build it step by step to the third step
Then something went wrong here
This is a pitfall, and I haven’t been able to find a solution. It has been solved. It turns out that after logging in with auth, the vue component is placed in home.blade.php
https://laravel-china.org/top...
Then I found this tutorial. When the route jumps below, the program responsible for the api jumps directly to the login route, and then checks the route list to find the API interface. They all use auth middleware. I followed the tutorial documents step by step. Why is this happening? . .
Can you try using the private token directly to see if you can access the interface?
I also accessed the api and jumped to the login page...