Because you vendor folder still contain the Jetstream package. delete that folder and run composer install, then you will not see it.
Apr 28, 2024
4
Level 8
After switching to an older git branch - route:list still shows the routes created by the new branch
Hi
I had a clean Laravel installation, I then checked out to a new branch, where I installed Jetstream. I then committed the changes and switched back to the branch where Jetstream was not installed on.
However when I run php artisan route:list, I still see all the routes created by Jetstream (login, register, etc..)
I ran php artisan route:clear but the routes are still there
I noticed that because the front page of the Laravel installation still had the "Log In" and "Register" links on top, which are shown only if the routes exist:
@if (Route::has('login'))
...
@endif
Why?
Level 51
1 like
Please or to participate in this conversation.