Answers:
访问您的MySQL并使用以下命令:
UPDATE `core_config_data` SET `value`='0' WHERE `path`='dev/js/merge_files';
UPDATE `core_config_data` SET `value`='0' WHERE `path`='dev/js/enable_js_bundling';
UPDATE `core_config_data` SET `value`='0' WHERE `path`='dev/js/minify_files';
UPDATE `core_config_data` SET `value`='0' WHERE `path`='dev/css/merge_css_files';
UPDATE `core_config_data` SET `value`='0' WHERE `path`='dev/css/minify_files';
或者,您可以在终端中使用Magerun:
magerun config:store:set dev/js/merge_files 0
magerun config:store:set dev/js/enable_js_bundling 0
magerun config:store:set dev/js/minify_files 0
magerun config:store:set dev/css/merge_css_files 0
magerun config:store:set dev/css/minify_files 0
然后运行以下命令以再次部署:
alias mage="php -d memory_limit=-1 -f bin/magento"
mage cache:flush &
mage indexer:reindex &
mage setup:upgrade &&
mage deploy:mode:set developer &&
mage setup:static-content:deploy -f &&
chmod -R 775 pub/static/ pub/media/ var/
setup:static-content:deploy
。对吗?
php bin/magento config:set dev/js/merge_files 0
php bin/magento config:set dev/js/enable_js_bundling 0
php bin/magento config:set dev/js/minify_files 0
php bin/magento config:set dev/css/merge_css_files 0
php bin/magento config:set dev/css/minify_files 0