Wrapper view
Creating a wrapper view is mandatory, using it, is optional!
You have to create a wrapper view, otherwise you'll get an error when you run
php artisan view:cache
.
If you don't want to use it, set $wrapWithView
to false
in config
Quick setup
1. Create a wrapper view
Example path:
resources/views/layouts/tall-form-wrapper-layout.blade.php
the view must contain
@include('tall-forms::form')
Example wrapper view for Laravel 8 using Jetstream or Breeze
2. Set your default wrapper view in config
Set your default view in the config/tall-forms.php
file.
More info on the Layout vs Wrapper page
Last updated
Was this helpful?