yangshihe/yii2-fontawesome

The fontawesome extension for the Yii framework


Keywords
fonts, FontAwesome, yii2
License
BSD-3-Clause

Documentation

Yii2 FontAwesome Asset

see http://fontawesome.io/

Installation

The preferred way to install this extension is through composer.

Either run

composer require yangshihe/yii2-fontawesome

View


yangshihe\fontawesome\FontAwesomeAsset::register($this);

OR

class AppAsset extends AssetBundle
{
    public $depends = [
        ...
        'yangshihe\fontawesome\FontAwesomeAsset'
    ];
}

自己使用