Closed Stantastic closed 2 years ago
I'm working on a modular app where modules will have templates as well. It could look like this:
App: resources/views/master.blade.php
Module: module/views/mymodule.blade.php
How would I be able to load files dynamically from folders that are not in in the apps base template directory?
For laravels blade I found this: https://laravel.io/forum/11-08-2015-solved-render-view-from-other-path
you can use (start with "/") "/someurl/module/views.mymodule.blade.php" if you want to use an absolute path.
I'm working on a modular app where modules will have templates as well. It could look like this:
App: resources/views/master.blade.php
Module: module/views/mymodule.blade.php
How would I be able to load files dynamically from folders that are not in in the apps base template directory?
For laravels blade I found this: https://laravel.io/forum/11-08-2015-solved-render-view-from-other-path