magento 常用操作

1. 查看模块状态

  1. bin/magento module:status

2. 启用模块

  1. bin/magento module:enable {module name}

3. 停用模块

  1. bin/magento module:disable {module name}

4. 升级模块

  1. bin/magento setup:upgrade

5. 清除缓存

  1. bin/magento cache:flush

6. 编译

  1. bin/magento setup:di:compile

7. Deploy

  1. bin/magento setup:static-content:deploy