ezoterik/yii2-respond-asset

Respond.js asset for Yii2 framework

Installs: 4 460

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-11-22 07:00:00 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',
    // ...
];