Closed jdion84 closed 1 year ago
new #[Title('my title')]
class extends Component
{
//
}; ?>
I mean for functional api
@nunomaduro What about dynamic title for class based Volt component, ex: public function title(){ return __('Some title');} there is no title function nor render function in Volt. Any idea how to set dynamic title for class based Volt component? Thanks a lot.
in livewire we can use attribute to set page title, however I saw no way how to in docs for volt
is there a function like
title()
we can use for this or am I missing something?