Livewire 4 UI for vigstudio/vgcomments ^2.0.
Version: 2.0 · PHP ^8.2 · Laravel ^10|^11|^12|^13 · Livewire ^4.0
Demo: vgcomment.nghiane.com/demo/livewire
composer require vigstudio/livewire-comments:^2.0
php artisan vendor:publish --tag=vgcomment-config
php artisan vendor:publish --tag=vgcomment-assets
php artisan vendor:publish --tag=vgcomment-assets-livewire
php artisan migrate
php artisan optimize:clearHost app must already run Livewire 4.
<head>
@livewireStyles
@commentStyles
</head>
<body>
<livewire:livewire-comments::comments :pageId="$pageId" />
@livewireScripts
@commentScripts
</body>Only include comment assets on pages that render the component.
MIT.