ycs77 / laravel-wizard

A web Setup Wizard for Laravel application.
MIT License
121 stars 18 forks source link

Change the layout of the blade steps #8

Closed raphaelmsr closed 4 years ago

raphaelmsr commented 4 years ago

Changed the @extends in base.blade.php in vendor but since it is not commited, it is not persistent in my code base. How to change global layout of steps ?

ycs77 commented 4 years ago

First, publish layouts:

php artisan vendor:publish --tag=wizard-views

Now you can customize resources/views/vendor/wizard/*.blade.php in your laravel project.

But if you want custom only one wizard view base view, you can copy the views from resources/views/vendor/wizard/*.blade.php to resources/views/wizards/user/*.blade.php. (user is wizardName property value on your wizard controller),

raphaelmsr commented 4 years ago

Works like a charm