Wrapping login page with <x-layout>

What is the correct/best way to wrap the default login page with my <x-layout>?

<x-layout> wraps all my pages with <HTML> <HEAD> <BODY> and <MAIN> and has <x-navbar /> and a <x-footer /> components, which I need to add to the login page.

I tried publishing the views and then just wrapping the <form> component inside login.blade.php with <x-layout> but obviously it didn't work.

Thank you for any help!
Was this page helpful?