PHP code example of rrmontuan / yii2-materialadmin-asset
1. Go to this page and download the library: Download rrmontuan/yii2-materialadmin-asset library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
rrmontuan / yii2-materialadmin-asset example snippets
use yii\web\AssetBundle;
class MaterialAdminPluginAsset extends AssetBundle
{
public $sourcePath = '@app/templates/materialadmin';
public $js = [
// more plugin Js here
];
public $css = [
// more plugin CSS here
];
public $depends = [
'rrmontuan\web\MaterialAdminAsset',
];
}