ezoterik / yii2-html5shiv-asset
HTML5 Shiv asset for Yii2 framework
Installs: 4 153
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- bower-asset/html5shiv: *
- yiisoft/yii2: *
This package is auto-updated.
Last update: 2023-02-22 03:54:19 UTC
README
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist ezoterik/yii2-html5shiv-asset "*"
or add
"ezoterik/yii2-html5shiv-asset": "*"
to the require section of your composer.json
file.
Usage
Register Html5ShivAsset in your views with:
ezoterik\html5shivAsset\Html5ShivAsset::register($this);
Or set a dependancy in your AppAsset with:
public $depends = [ // ... 'ezoterik\html5shivAsset\Html5ShivAsset', // ... ];