kovak / module-customheaderlinks
在 TOP 部分添加自定义链接或文本
1.0.6
2023-03-19 21:42 UTC
Requires
- kowal/base: *
README
``kowal/module-customheaderlinks``
主要功能
在 TOP 部分添加自定义链接或文本
安装
* = 在生产环境中请使用 --keep-generated
选项
类型 1:ZIP 文件
- 解压 ZIP 文件到
app/code/Kowal
- 通过运行
php bin/magento module:enable Kowal_CustomHeaderLinks
启用模块 - 通过运行
php bin/magento setup:upgrade
应用数据库更新* - 通过运行
php bin/magento cache:flush
清除缓存
类型 2:Composer
- 将模块添加到 composer 存储库中,例如
- 私有存储库
repo.magento.com
- 公共存储库
packagist.org
- 公共 GitHub 存储库作为 vcs
- 私有存储库
- 通过运行
composer config repositories.repo.magento.com composer https://repo.magento.com/
将 composer 存储库添加到配置中 - 通过运行
composer require kowal/module-customheaderlinks
安装模块 - 通过运行
php bin/magento module:enable Kowal_CustomHeaderLinks
启用模块 - 通过运行
php bin/magento setup:upgrade
应用数据库更新* - 通过运行
php bin/magento cache:flush
清除缓存