yii adminlte 更换皮肤
帮助文档可参考链接http://adminlte.la998.com/documentation/index.html
1、利用 AdminLTE 渲染后台模板
composer require dmstr/yii2-adminlte-asset “2.*”
复制 vendor/dmstr/yii2-adminlte-asset/example-views/yiisoft/yii2-app 到 backend/views/,需要覆盖的则覆盖
- 更换皮肤
打开文件views/layouts/main.php
<body class="hold-transition skin-yellow sidebar-mini">
将skin-blue 替换成喜欢的皮肤
目前可选皮肤版本如下:
skin-blue
skin-blue-light
skin-yellow
skin-yellow-light
skin-green
skin-green-light
skin-purple
skin-purple-light
skin-red
skin-red-light
skin-black
skin-black-light
来源:CSDN
作者:亭雨心
链接:https://blog.csdn.net/tingyuxinhappy/article/details/83547054