Yii2框架之旅(四)

Yii2安裝AdminLTE模板php

1.composer下載模板(composer require dmstr/yii2-adminlte-asset 「2.*」)yii2

2.將項目名下vendor\dmstr\yii2-adminlte-asset\example-views\yiisoft\yii2-app中的layoutssite複製粘貼到backend\views下(覆蓋原有的layoutssiteapp

3.Layoutsmain.php能夠修改主體顏色composer

<body class="hold-transition skin-green sidebar-mini">yii

skin-blueide

skin-redui

skin-yellowspa

skin-purpleblog

skin-greenit

skin-blue-light

skin-red-light

skin-yellow-light

skin-purple-light

skin-green-light

預知後事如何,請聽下回分解。

相關文章
相關標籤/搜索