litecms / product
此包已被废弃,不再维护。未建议替代包。
litecms的产品包。
2.0.3
2018-10-16 16:23 UTC
Requires
- php: ^7.1.3
README
Laravel包,为lavalite CMS提供产品管理功能。
安装
使用composer安装此包。
composer require litecms/product
Laravel 5.5使用包自动发现功能,因此不需要您手动添加ServiceProvider。
发布
配置
php artisan vendor:publish --provider="Litecms\Product\Providers\ProductServiceProvider" --tag="config"
语言
php artisan vendor:publish --provider="Litecms\Product\Providers\ProductServiceProvider" --tag="lang"
文件
php artisan vendor:publish --provider="Litecms\Product\Providers\ProductServiceProvider" --tag="storage"
视图
将视图发布到资源视图目录
php artisan vendor:publish --provider="Litecms\Product\Providers\ProductServiceProvider" --tag="view"
将管理视图发布到管理主题
php artisan theme:publish --provider="Litecms\Product\Providers\ProductServiceProvider" --view="admin" --theme="admin"
将公共视图发布到公共主题
php artisan theme:publish --provider="Litecms\Product\Providers\ProductServiceProvider" --view="public" --theme="public"