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
Requires
- bower-asset/respond: *
- yiisoft/yii2: *
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', // ... ];