prashant-webkul / custom-style
自定义样式扩展
dev-master
2019-10-18 17:23 UTC
Requires
- composer/installers: ~1.0
This package is auto-updated.
Last update: 2024-09-19 03:48:21 UTC
README
大家好,这个仓库现在已转换为composer扩展,使用命令 composer require prashant-webkul/custom-style!
如果已经看到这里,请给予肯定。此包是Bagisto商店和Admin包中提供自己样式的通用实现。
要安装此包,需要按照以下步骤操作
- 在Bagisto的根目录中有一个composer.json文件,在其末尾添加以下行
"Webkul\\CustomStyle\\": "packages/Webkul/CustomStyle/src"
- 在config/app.php文件中,您会找到一个名为'providers'的数组,在该数组的末尾粘贴以下行
Webkul\CustomStyle\Providers\CustomStyleServiceProvider::class
- 运行命令:composer dump-autoload。
完成,现在加载admin或商店页面,您将看到使用事件传递的此包中的样式正在工作,并且您将特别看到红色背景用于商店页面和绿色背景用于admin页面。