I have a folder structure like this: -app --modules ---Account ----Views ----layout.blade.php ----a -----login.blade.php In layout.blade.php I use this function @include("a.login") but exception occur, I see if I create the same file in resouces/views/a/login.blade.php then exception appeared. How do I run @include("a.login") in modules/account/views/?
You can add paths for your view files into the paths array found in config/view.php
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community