Closed onemoreahmad closed 11 months ago
i believe you can use title
method above your class e.g.:
use function Livewire\Volt\{state, title};
title(__('Translated page title');
// new class extends...
@jdion84 I tried this before, it doesn't work.
try this;
use function Livewire\Volt\{state, title};
title(__('Translated page title'));
I don't know if I'm missing something or this is just not implemented.
I need to add a title to a full page Volt component. I have this home page component
I render this component directly as volt route
Volt::route('/', 'home');