Closed OwenMelbz closed 6 years ago
Is there a related Discourse thread or were any utilized (please link them)?
No
there is :)
rather than making 3 separate github issues, please head over to roots discourse where this has already been discussed
Submit a feature request or bug report
What is the current behavior?
Hi - I'm aware some of you like to have the separation of a theme composer.json and a plugins composer.json - however for a variety of reasons we just want to have it in the same root one.
I've set up a normal bedrock and sage install to start with that works and activates etc.
Then I start to move the dependencies into the root file by moving..
to the root
composer.json
- I then move the PSR-4 mapping so it resemblesthen run
composer update
and for extra piece of mindcomposer du
The install goes fine - clear the blade cache just incase and refresh. However it then throws this error
It comes across like it's not autoloading things correctly.
Below are the main configs from the composer.json
What is the expected or desired behavior?
When moved the class should still be locatable and work as expected
Bug report
Please provide steps to reproduce, including full log output:
As mentioned above ^^
Please describe your local environment:
WordPress version: 4.9.8
OS: macos 10.13.6
NPM/Node version: 6.1.0
Where did the bug happen? Development or remote servers?
Both
Is there a related Discourse thread or were any utilized (please link them)?
No