Yii2 FontAwesome Asset
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'
];
}
自己使用