Corepine logo Corepine Wirechat beta
Login
Wirechat v0.6x latest

Wirechat Views

Wirechat ships Blade views for its default chat UI. Publish the views when your application needs markup, labels, classes, or small layout changes that cannot be handled through panel configuration.


Publishing the Views

Publishing Wirechat's views copies them into your application's resources/views/vendor/wirechat/ directory:

php artisan vendor:publish --tag=wirechat-views

Any matching file in resources/views/vendor/wirechat/ overrides the package view with the same path.

Working With Published Views

Keep view customizations focused on markup and presentation. Put new behavior in a custom Livewire component class, then let the published view call the methods or render the state exposed by that component.

For component identifiers and replacement examples, see Components. For embedding the full chat surface in an application page, see Standalone Widget.