Skip to content

Laravel 8 Jetstream

tanthammar edited this page Dec 7, 2020 · 5 revisions

Layout fixes for Laravel 8 Breeze and Jetstream.

1. Read the "Tailwind Config" page.

2. Add null to $header in app.blade.php

<!-- Page Heading -->
<header class="bg-white shadow">
    <div class="max-w-7xl mx-auto py-6 px-4 sm:px-6 lg:px-8">
        {{ $header ?? null }}
    </div>
</header>

<!-- Page Content -->
<main>
    {{ $slot }}
</main>

3. Register & Login

With the default installation of Laravel Jetstream & Breeze you can't use the app.blade.php without being logged in.

Clone this wiki locally