Hello,
I tried to use “x-dynamic-component” available since larevel 8.X but its not rendered in html so im wondering if its supported by sage 10.
@foreach($posts_type as $post_type)
@if(!empty($search[$post_type]))
<div class="search-row">
@foreach($search[$post_type] as $p)
<x-dynamic-component :component="$post_type"/>
@endforeach
</div>
@endif
@endforeach
Result in html :
<x-dynamic-component :component="$post_type"/>
Thanks in advance.