mercredi 8 mai 2019

Laravel 5.7: How to get Blade stack from view?

I am loading just one section from a Laravel Blade view using jQuery AJAX, following this approach. This is working fine.

The Blade view I'm loading a section from also has a couple of Blade stacks. How can I include those stacks in the AJAX response?

I've tried nesting the stacks inside the view section I'm calling, but the stacks still were not included in the response (though the stacks still work on the original complete view just fine).

FYI, the stacks are 'modals' (containing some Bootstrap modals) and 'scripts' (containing some JavaScripts).

Thanks!



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire