Skip to content

Laravel 8 Jetstream

tanthammar edited this page Oct 30, 2020 · 5 revisions

1. Make sure to read the Tailwind Config page

2. To avoid some issues, add null to $header and $slot 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 ?? null }}
</main>

3. Register & Login

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

Clone this wiki locally