【文件属性】:
文件名称:Theme:Laravel的主题经理
文件大小:26KB
文件格式:ZIP
更新时间:2021-05-23 09:30:26
PHP
Laravel的主题支持
受到启发。 主题存储在默认的laravel的资源文件夹中
安装
在composer.json中需要此软件包:
composer require yaap/theme
或手动添加
" yaap/theme " : " 4.* "
(可选)使用artisan CLI发布配置(如果要覆盖默认配置)。
php artisan vendor:publish --provider= " YAAP\Theme\ThemeServiceProvider "
软件包配置
return array (
'path' => base_path ( 'resources/themes' ),
'assets_path' => 'themes' ,
);
主题配置
return array (
'n
【文件预览】:
Theme-master
----src()
--------config()
--------YAAP()
----.travis.yml(179B)
----LICENSE(1KB)
----phpunit.xml(570B)
----README.md(3KB)
----tests()
--------.gitkeep(0B)
----.gitignore(52B)
----composer.json(826B)