Vendor/ In Magento 2

vendor/: this is where all of the Composer-installed modules are located.
This directory can be deleted and re-created at any time on your development
machine (doing this in production would result in your store being down). To
create this directory, run composer install (this command is different than
composer update in that install doesn’t change any versions and only installs
what is specified in composer.lock).
Because of this, it goes without saying that code in the vendor/ directory
should never be modified. Doing so will be temporary and these changes will be
destroyed next time you run composer update or composer install.

admin

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top