This is the AdminLTE Extension for Yii2.
The preferred way to install this extension is through Composer
Either run
php composer.phar require thinkyii/yii2-adminlte-assets "dev-master"
or add
"thinkyii/yii2-adminlte-assets": "dev-master"
to the require section of your composer.json
Once the extension is installed, you can have a preview by reconfiguring the path mappings of the view component:
For Yii 2 Application Template or Basic Application Template
'components' => [
'view' => [
'theme' => [
'pathMap' => [
'@app/views' => '@vendor/thinkyii/yii2-adminlte-asset/views'
],
],
],
],
This asset bundle provides sample files for layout and view (see folder examples/
), they are not meant to be customized directly in the vendor/
folder.
Therefore it is recommended to copy the views into your application and adjust them to your needs.
vendor/thinkyii/yii2-adminlte-asset/views
(or other theme) to @app/views
.view
configuration from your application by deleting the path mappings, if you have made them before.vendor/bower/admin-lte/pages
By default the extension uses black skin for AdminLTE. You can change this. Just replace class of body skin-black
to skin-blue
.
To fix all menu, add fixed
class to body
element.
No stable releases.
Comments