1. 停用模块
bin/magento module:disable {module name}
2.删除模块文件夹
rm -rf app/code/{module folder}
3.更新模块
bin/magento setup:upgrade
4.清除缓存
bin/magento cache:flush
PS: 如果数据库有表的话,请到数据库删除
bin/magento module:disable {module name}
rm -rf app/code/{module folder}
bin/magento setup:upgrade
bin/magento cache:flush
PS: 如果数据库有表的话,请到数据库删除
本文标题:magento2 完整卸载模块的正确姿势
本文链接:https://www.haomeiwen.com/subject/zuhflxtx.html
网友评论