ezoterik/yii2-respond-asset

Respond.js asset for Yii2 framework

Installs: 4 437

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-10-22 06:54:50 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',
    // ...
];