Is x-dynamic-component supported?

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.

Dynamic components are working for me with Sage 10 + Acorn 2.1.2.

What version of Acorn are you using?

1 Like

I realized it was because of bad syntax, i tried to pass dynamic attributes and it didnt recognized it so it i got an output in html.

Nothing more, x dynamic component work fine on sage 10.