put the files in the right places with yii2 framework.
- use the leftMenu widget in the layout like the demo:
<?= LeftMenu::widget( [ 'paramsId' => 'topNav', 'items' => array('Menu1', 'Menu2', 'Menu With Sub'), 'options' => array( //单层结构 //single layer structure array( 'url' => 'admin-lte', //fw style 'font-awesome' => 'fa-desktop', ), array( 'url' => 'admin-lte/menu2', 'font-awesome' => 'fa-users', ), //多层结构 //tree array( //item' => 'url', 'sub1' => Yii::$app->urlManager->createUrl(['admin-lte/menu3', 'sub' => 1]), 'sub2' => Yii::$app->urlManager->createUrl(['admin-lte/menu3', 'sub' => 2]), 'sub3' => Yii::$app->urlManager->createUrl(['admin-lte/menu3', 'sub' => 3]), 'sub4' => Yii::$app->urlManager->createUrl(['admin-lte/menu3', 'sub' => 4]), 'font-awesome' => 'fa-cog', ), ), ] ); ?>
- make the new Asset for using the plugins in the @app/vendor/bower/admin-lte/source/css(js)/plugins.