1// Using include, the old way2@include("components.post", ["title" => $post->title])3 4// Using Blade-X5<x-post link="{{ $post->title }}" />6 7// Using Blade-X variable binding8<x-post :link="$post->title" />
Tip given by @anwar_nairi
1// Using include, the old way2@include("components.post", ["title" => $post->title])3 4// Using Blade-X5<x-post link="{{ $post->title }}" />6 7// Using Blade-X variable binding8<x-post :link="$post->title" />
Tip given by @anwar_nairi