After setup new magento site, i've met some weird situation.
All my vendor folders go to app/code instead.
Also i can't find the Magento/Framework folder too.enter image description hereenter image description here

How to fix this situation, thanks.

有帮助吗?

解决方案

Please download from the downloads section of the website. Or you can use composer

composer create-project --prefer-source --repository-url=https://repo.magento.com/ magento/project-community-edition=2.3.2 ./

Where 2.3.2 is magento version.

Do not download from git

Git version is for magento core development if you plan to submit pull requests to the magento git repo

许可以下: CC-BY-SA归因
scroll top