/yii2-liuxy-themes

基于Metronic的后台主题模板

Primary LanguageJavaScriptBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

yii2-liuxy-themes

基于Metronic的后台主题模板

安装

推荐使用 composer.进行安装

运行

php composer.phar require --prefer-dist liuxy/yii2-themes "*"

或者添加如下内容

"liuxy/yii2-themes": "*"

composer.json 文件中

后台模板配置

修改Yii2 backend配置文件中components的view 部分:

'view' => [
    'theme' => 'liuxy\admin\Theme'
],

前台模板配置

修改Yii2 frontend配置文件中components的view 部分:

'view' => [
    'theme' => 'liuxy\frontend\Theme'
],