美文网首页
magento2 完整卸载模块的正确姿势

magento2 完整卸载模块的正确姿势

作者: 葡萄月令 | 来源:发表于2017-07-28 16:11 被阅读43次

    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: 如果数据库有表的话,请到数据库删除

    相关文章

      网友评论

          本文标题:magento2 完整卸载模块的正确姿势

          本文链接:https://www.haomeiwen.com/subject/zuhflxtx.html