Antonella's avatar

customize ..user/profile jetstream

i installed jetstream in laravel. At the ... / user / profile page I can't quite understand how they built it. I don't find route, controller and model how could I change them?

0 likes
8 replies
Antonella's avatar

so are you saying that if i took the delete button etc i could not use it in other contexts or on other models?

Antonella's avatar

what interests me was to use graphics and features such as delete for other problems. I just don't know where to leave

HanStiefel's avatar

i am actually trying to find the route for user/profile.. but it's not in web.php

1mr3yn's avatar

You can find the controller at vendor/laravel/jetstream/src/Http/Controllers/Inertia/UserProfileController.php and running php artisan route:list may help.

1 like
Notdavis's avatar

@1mr3yn any idea why it was done this way? without knowing better, at first glance this seems horrible from readability / usability / troubleshooting.

I wanted to give jetstream a try but it looks like half the app is located in a vendor sub folder and not the usual Laval places -- however I am completely open to the idea I'm suffering from the Dunning–Kruger effect.

majad.shohagh's avatar

just run this command in your terminal route find it you routes folder routes/jestream.php. php artisan vendor:publish --provider="Laravel\Jetstream\JetstreamServiceProvider" --tag=jetstream-routes @hanstiefel

4 likes

Please or to participate in this conversation.