# Magento2实战 插件demo **Repository Path**: luinfy/magento2-action-extension-demo ## Basic Information - **Project Name**: Magento2实战 插件demo - **Description**: Magento2实战教程里的插件demo - **Primary Language**: PHP - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 6 - **Created**: 2022-06-09 - **Last Updated**: 2022-06-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Magento实战 插件demo #### 项目介绍 Magento2实战教程里的插件demo #### 项目文档 [https://www.kancloud.cn/zouhongzhao/magento2-in-action/628444](https://www.kancloud.cn/zouhongzhao/magento2-in-action/628444) #### 安装教程 1. 如果没有`app/code`目录,就先创建`app/code`目录 2. 在`app/code`里创建`Zou`目录 3. 在`Zou`目录下 `git clone https://gitee.com/zouhongzhao/magento2-action-extension-demo.git` 4. `mv magento2-action-extension-demo/Demo ./` 5. `rm magento2-action-extension-demo/ -rf` 6. 启用插件 ``` php bin/magento module:enable --clear-static-content Zou_Demo php bin/magento setup:upgrade php bin/magento setup:di:compile ```