Skip to content
Brok UI

Loading…

No results

Lint UI-204

livewire-loading

Livewire actions need loading state the component exposes.

UI-204 default: warning livewire LIVEWIRE_LOADING

Configure

In the lint.rules block of ui.json. It accepts message, exclude; see the policy for what the entries match.

ui.json JSON
"livewire-loading": ["warning", { "message": "...", "exclude": ["resources/views/legacy/**"] }]
terminal
php artisan ui:check --explain livewire-loading

Suppress one line

blade
{{-- ui-lint-disable-next-line livewire-loading: reason --}}