kerlama / mx-megamenu
Inviqa - MX Mega Menu
1.2.9
2019-02-25 13:44 UTC
Requires
- magento/framework: ^100.1|^101.0
- magento/module-backend: ^100.1|^100.2
- magento/module-catalog: ^101.0|^102.0
- magento/module-cms: ^101.0|^102.0
- magento/module-ui: ^100.1|^101.0
- symfony/yaml: ~2.1|~3.0
README
该模块提供有用的顶部菜单,能够在Magento 2中创建复杂的菜单结构。
兼容性
Magento 2.X (已在magento 2.2.4中测试)
安装
Composer
-
请确保您已将Github的OAuth令牌添加到您的composer配置中。
-
将Magento根目录路径添加到extra部分。该路径必须是相对于composer.json文件的相对路径。以下是一个示例
"extra": {
"magento-root-dir": "public"
}
- 将Git仓库添加到composer中,作为此软件包的源
composer config repositories.mx-megamenu vcs git@github.com:inviqa/mx-megamenu.git
- 从您的项目根目录运行以下命令。
composer require "inviqa/mx-megamenu"
用法
在管理员中启用菜单:MegaMenu > 设置 > 启用Mega Menu
当模块启用时,默认的顶部菜单将被自动移除:为了在布局结构中移动megamenu,引用名称为mx.megamenu.topnav