Livewire

Configuration Changes in Livewire v4

February 01, 2026 1 min read 34 views

Livewire v4 introduces several configuration changes.

Renamed Keys

// Before: 'layout' => 'components.layouts.app'
// After: 'component_layout' => 'layouts::app'

// Before: 'lazy_placeholder' => 'livewire.placeholder'
// After: 'component_placeholder' => 'livewire.placeholder'

New Options

'component_locations' => [
    resource_path('views/components'),
],

'component_namespaces' => [
    'layouts' => resource_path('views/layouts'),
    'pages' => resource_path('views/pages'),
],

'make_command' => [
    'type' => 'sfc',
    'emoji' => true,
],

'csp_safe' => false,
Share this post:

Related Posts

Comments (0)

Please log in to leave a comment. Log in

No comments yet. Be the first to comment!