Questions tagged «vendor»

1
Magento2:不同类型的composer.json文件
在Magento2中,我看到不同的供应商遵循以下给定的不同composer.json格式来命名其模块。 第一: "autoload": { "files": [ "registration.php" ], "psr-4": { "Amit\\SamplePage\\": "" } } 第二名: "extra": { "map": [ [ "*", "Amit/SamplePage" ] ] } 1.它们之间有什么区别,我应该遵循哪一个? 2. registration.php用于注册一个模块然后为什么composer.json所有模块都需要?
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.