[X] This request is not a duplicate of an existing issue
[X] I have read the docs and followed them (if applicable)
[X] I have seached the Roots Discourse for answers and followed them (if applicable)
[X] This is not a personal support request that should be posted on the Roots Discourse community
Description
What's wrong?
When I add a View Composer for a page blade template in a subfolder pages, it does not get mapped and does not find the variables that should be passed.
Terms
Description
What's wrong?
When I add a View Composer for a page blade template in a subfolder pages, it does not get mapped and does not find the variables that should be passed.
Folder structure
├── app │ ├── View │ │ ├── Components │ │ ├── Composers │ │ │ ├── pages │ │ │ │ ├── Test.php ├── resources │ ├── views │ │ ├── pages │ │ │ ├── test.blade.php
What have you tried?
Changes both folder names and namespace to be "pages" instead of "Pages".
What insights have you gained?
This seems to only be a windows issue, as it works on Linux and MacOs.
Possible solutions
Not found one yet.
Temporary workarounds
Move the View Composer to View/Composers instead of View/Composers/Pages and move the page template to views instead of views/pages
Steps To Reproduce
Expected Behavior
That the template blade renders with the provided variables
Actual Behavior
Relevant Log Output
No response
Versions
10.3.1