jbl/shopware-config-elements
Composer 安装命令:
composer require jbl/shopware-config-elements
包简介
Adds a bunch of additional config elements for the administration
关键字:
README 文档
README
Since shopware's plug-in config only supports some default Elements and some pre-defined components,
this repository aims to extend it by a bunch of new elements.
Feel free to add your own or to adjust the existing ones.
Make sure to pre-build the assets and commit the compiled JS as well.
Install
install bundle
Install via composer:
composer require jbl/shopware-config-elements:dev-main
activate bundle
open config/bundles.php and add to the end of the array:
Jbl\ShopwareConfigElements\JblShopwareConfigElements::class => ['all' => true]
copy assets
execute in console
bin/console assets:install
Config Elements
jbl-cta
<component name="jbl-cta"> <name>uniqueName</name> <headline>This is a headline</headline> <text>Some Text displyed below the headline</text> <buttonText>Text displayed on button</buttonText> <buttonLink>https://www.something.com/</buttonLink> <buttonVariant>primary|ghost|danger|ghost-danger|contrast|context</buttonVariant> </component>
jbl-simple-text
<component name="jbl-simple-text"> <name>uniqueName</name> <text>This element simply displays some regular text.</text> </component>
统计信息
- 总下载量: 3
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-09-21