The preferred way to install this extension is through composer.
To install Material Kit run:
composer require dz0wkn/yii2-material-kit "1.0.x-dev"
Add to composer.json
{
"require": {
"dz0wkn/yii2-material-kit": "1.0.x-dev"
}
}
And run
composer update
in your layouts/main.php include followin code
<?php
/* @var $this \yii\web\View */
/* @var $content string */
/*
use yii\dependencies
*/
//Register class
dz0wkn\mk\web\MaterialAsset::register($this);
?>
<?php $this->beginPage() ?>
<!DOCTYPE html>