ezoterik/yii2-respond-asset

Respond.js asset for Yii2 framework

Installs: 4 389

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 0

Open Issues: 0

Type:yii2-extension

1.0.0 2016-03-09 15:53 UTC

This package is auto-updated.

Last update: 2024-04-22 05:46:17 UTC


README

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist ezoterik/yii2-respond-asset "*"

or add

"ezoterik/yii2-respond-asset": "*"

to the require section of your composer.json file.

Usage

Register Respond.js in your views with:

ezoterik\respondAsset\RespondAsset::register($this);

Or set a dependancy in your AppAsset with:

public $depends = [
    // ...
    'ezoterik\respondAsset\RespondAsset',
    // ...
];