wdteam/yii2-asset-todc-bootstrap

Yii2 asset for bower todc-bootstrap

dev-master 2016-06-07 06:06 UTC

This package is auto-updated.

Last update: 2024-04-15 18:14:54 UTC


README

Yii2 asset for bower todc-bootstrap

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist wdteam/yii2-asset-todc-bootstrap "*"

or add

"wdteam/yii2-asset-todc-bootstrap": "*"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply use it in your code by :

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',
        'wdteam\todcbootstrap\TodcbootstrapAsset',
    ];
}```