obw / backendtheme
Objectwave默认的admin主题
1.1.0
2017-11-02 17:43 UTC
This package is not auto-updated.
Last update: 2024-09-15 04:10:43 UTC
README
这是一个为Magento2设计的后端主题,是我们每个项目的默认主题。
安装
1. 如果你安装了ObwHub,此主题会自动引用
2. 手动安装
a) Zip
- 下载此仓库到app/design/adminhtml/obw/Backendtheme
b) Composer
- 通过Composer要求依赖
composer require obw/backendtheme
对于更多选项:通过模块注册此主题,至少创建以下文件
etc/di.xml
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
<type name="Magento\Theme\Model\View\Design">
<arguments>
<argument name="themes" xsi:type="array">
<item name="adminhtml" xsi:type="string">Obw/Backendtheme</item>
</argument>
</arguments>
</type>
</config>
etc/module.xml
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Obw_Module" setup_version="0.0.1">
<sequence>
<module name="Magento_Backend"/>
</sequence>
</module>
</config>
许可声明
此作品受知识共享署名-非商业性使用-禁止演绎 3.0 未本地化版本许可协议保护 http://creativecommons.org/licenses/by-nc-nd/3.0
编码愉快!