Answer the question
In order to leave comments, you need to log in
How to change title in Laravel Jetstream?
The question is in the title. Please share your thoughts and ideas. Otherwise, I don’t understand how to change the title using the standard ready-made layouts.
Answer the question
In order to leave comments, you need to log in
Today I decided to return to this issue and it seems to have worked out. But I'm not sure yet what will work with dynamically changing header data.
And so, the solution (probably temporary):
On the page where it should be displayed (index.blade.php, post.blade.php and in this style):
<x-guest-layout>
<x-slot name="title">{{ __('Home Page') }}</x-slot>
</x-guest-layout>
<title>{{ $title }} - {{ config('app.name', 'Laravel') }}</title>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question