Wrapper view
Creating a wrapper view is mandatory, using it, is optional!
Quick setup
1. Create a wrapper view
Example wrapper view for Laravel 8 using Jetstream or Breeze
<x-slot name="header">
<h2 class="font-semibold text-xl text-gray-800 leading-tight">
{{ $formTitle ?? null }}
</h2>
</x-slot>
<div class="py-12">
<div class="max-w-7xl mx-auto sm:px-6 lg:px-8">
<div class="bg-white overflow-hidden shadow-xl sm:rounded-lg p-12">
@include('tall-forms::form')
</div>
</div>
</div>2. Set your default wrapper view in config
More info on the Layout vs Wrapper page
Last updated
Was this helpful?