Hi,
I use this package to set the title page and the meta tags I need in a page.
1st
Put SEO::generate()
in your master layout file (Eg. resources/views/layout/app.blade.php)
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
{!! SEO::generate() !!}
...
</head>
<body>
...
</body>
</html>
2nd
In the mount()
function of your Livewire Component
set the tags for your page, like:
examples taken from Livewire doc and Seotools doc.
use Livewire\Component;
use Artesaos\SEOTools\Facades\SEOTools;
class ShowContact extends Component
{
public $name;
public $email;
public function mount($id)
{
$contact = User::find($id);
$this->name = $contact->name;
$this->email = $contact->email;
SEOTools::setTitle('Home');
SEOTools::setDescription('This is my page description');
SEOTools::opengraph()->setUrl('http://current.url.com');
SEOTools::setCanonical('https://codecasts.com.br/lesson');
SEOTools::opengraph()->addProperty('type', 'articles');
SEOTools::twitter()->setSite('@LuizVinicius73');
SEOTools::jsonLd()->addImage('https://codecasts.com.br/img/logo.jpg');
}
...
}
I hope this help you 
Cheers,
—Maurizio