Reputation: 571
I have a component in Laravel Blade and want to set class
or inline style to it without passing any data.
My simple code is:
<x-atom.form class="mt-5" :data="$fields->main_form"></x-atom.form>
mt-5
is not set to x.atom.form
component
My component code is:
<section class="contact-form"></section>
Upvotes: 3
Views: 4133