Appearance
Add the Livewire component to your view file. If you don't have a pageId, you can use the current url as pageId.
<livewire:livewire-comments::comments :key="Str::uuid()" pageId="dashboard" />
If you have Commentable models, you can use the model's id as pageId.
<livewire:livewire-comments::comments :key="Str::uuid()" pageId="{{ $post->id }}" commentableType="{{ $post }}" />
Usage #
Add the Livewire Component #
Add the Livewire component to your view file. If you don't have a pageId, you can use the current url as pageId.
If you have Commentable models, you can use the model's id as pageId.