Summer Sale! All accounts are 50% off this week.

cotations88's avatar

Hi Everyone !! Please need some help

the first section of my template is truncated. How to make it appear? Thank you for your help

1 like
5 replies
vincent15000's avatar

It's not a Livewire problem, but a simple HTML one.

This div => <div class="main-wrapper"> is not closed.

Tip => you should give explicit titles to your posts, not just set the title to "I need help".

1 like
cotations88's avatar

@vincent15000 Thanks for your answer... Can l inject a livewire component into the page client-side (App.blade.php) ? or there's a way to do that ? It is not a closed div problem . @snapey could you help me ? Thanks

1 like
vincent15000's avatar

@cotations88 Perhaps that the not closed div is not the problem, but it's not normal that you have a div not closed.

Yes you can use a Livewire component inside a standard blade view.

cotations88's avatar

@vincent15000 How can i use Livewire component inside a standard blade view ? l try but got this

 <main >
<div wire:snapshot='{"data":[],"memo":{"id":"QzHvK0sy2QZsyKerN2ZA","name":"home","path":"\/","method":"GET","children":{"lw-2780475762-0":["form","qaEyR6fTj5n1IpaitUq4"]},"scripts":[],"assets":[],"errors":[],"locale":"en"},"checksum":"5a0addeb7548fce8ea2a6ef328a01f259d2c0216f818f1ad90d72f520b2cbd12"}'>



 @yield('content')
</main>
            

 <script src="{{asset('js/plugin.js')}}"></script>

1 like

Please or to participate in this conversation.