cinghie / yii2-ionicons
Asset Bundle to include Ionicons on your Yii 2 project
Installs: 669
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- bower-asset/ionicons: ^7.0.0
- yiisoft/yii2: ^2.0.14
README
Asset Bundle to include Ionicons on your Yii 2 project: https://ionicons.com/
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require cinghie/yii2-ionicons "^1.0.4"
or add this line to the require section of your composer.json
file.
"cinghie/yii2-ionicons": "^1.0.4"
Configuration
Add in the view for normal CSS
use cinghie\ionicons\IoniconsAsset;
IoniconsAsset::register($this);
Add in the view for minify CSS
use cinghie\ionicons\IoniconsMinifyAsset;
IoniconsMinifyAsset::register($this);