Yii2 CoreUI ¶
Yii2 extension includind the base layout for CoreUI admin dashboard
The preferred way to install this extension is through composer.
php composer.phar require --prefer-dist daxslab/yii2-coreui "*"
to the require section of your
Make your module or controller layout to be
@daxslab/coreui/views/layouts/main.php by modifiying the layout attribute.
Also you can make your
@app/views/layouts/main.php to look like:
$this->beginContent('@daxslab/coreui/views/layouts/main.php') = $content $this->endContent()
Consider that there a a group of variables at the beginning of
@daxslab/coreui/views/layouts/main.php that you can set
to specify brand icons, menu contents, etc.