Skip to content

Pipa7/yii2-admin-bsb-material-design

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yii2 AdminBSB - Material Design

Asset Bundle for AdminBSB - Material Design

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist pipa7/yii2-admin-bsb-material-design "*"

or add

"pipa7/yii2-admin-bsb-material-design": "*"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply edit the file in assets/AppAsset.php and add the following line in $depends: a

        'pipa7\adminbsb\assets\ThemeAsset'

Should stay like this:

<?php
/**
 * @link http://www.yiiframework.com/
 * @copyright Copyright (c) 2008 Yii Software LLC
 * @license http://www.yiiframework.com/license/
 */

namespace app\assets;

use yii\web\AssetBundle;

/**
 * @author Qiang Xue <[email protected]>
 * @since 2.0
 */
class AppAsset extends AssetBundle
{
    public $basePath = '@webroot';
    public $baseUrl = '@web';
    public $css = [
        'css/site.css',
    ];
    public $js = [
    ];
    public $depends = [
        'yii\web\YiiAsset',
        'yii\bootstrap\BootstrapAsset',
        'pipa7\adminbsb\assets\ThemeAsset'
    ];
}

=======

yii2-admin-bsb-material-design

Yii2 AdminBSB - Material Design