blackho1e/adminlte-asset

adminlte-asset for Yii2

0.0.1 2017-02-27 08:27 UTC

This package is not auto-updated.

Last update: 2024-04-17 18:47:35 UTC


README

Installation

The preferred way to install this extension is through composer.

To install, either run

$ php composer.phar require blackho1e/adminlte-asset "*"

or add

"blackho1e/adminlte-asset": "*"

to the require section of your composer.json file.

Usage

In view

// @app/views/layouts/main.php

\blackho1e\adminlte\assets\AdminLteAsset::register($this);
// further code

or as a dependency in your app wide AppAsset.php

// @app/assets/AppAsset.php

public $depends = [
    'blackho1e\adminlte\assets\AdminLteAsset',
    // more dependencies
];