Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

gundogduyakici's avatar

Livewire layout does not change

Hello,

When I first installed Livewire, the layout was not found because my layout path was different. Then "->layout('layouts.shop.app');" this is how i set a custom path. But now, even if I change it, if I write something wrong, it doesn't change. I cleared the cache but it didn't work. This happens all the time in frameworks/views/12313123213.php cache "<?php echo $__env->make('layouts.shop.app', \Illuminate\Support" and it doesn't change.

What is the reason of this?

0 likes
4 replies
gundogduyakici's avatar

@Sinnbeck I think I just figured it out. If a Livewire component comes via another extended function, does it use its layout path? Because I am using livewire component in blade from another function.

Please or to participate in this conversation.