virtualwonders/yii2-fontawesome 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

virtualwonders/yii2-fontawesome

最新稳定版本:1.0.0

Composer 安装命令:

composer require virtualwonders/yii2-fontawesome

包简介

An asset bundle for Font Awesome icons with Bootstrap 4.

README 文档

README

An asset bundle for Font Awesome icons with Bootstrap 4.

Installation

The preferred way to install this extension is through Composer.

Either run

php composer.phar require --prefer-dist virtualwonders/yii2-fontawesome "*"

or add

"virtualwonders/yii2-fontawesome": "*"

to the require section of your composer.json file.

Usage

Add in the view as follows:

use virtualwonders\fontawesome\FontAwesomeAsset;

FontAwesomeAsset::register($this);

Or, use the minified version:

use virtualwonders\fontawesome\FontAwesomeMinifiedAsset;

FontAwesomeMinifiedAsset::register($this);

It can also be added as a dependency on your AppAsset, as follows:

public $depends = [
    'yii\web\YiiAsset',
    'yii\bootstrap4\BootstrapAsset',
    'yii\bootstrap4\BootstrapPluginAsset',
    'virtualwonders\fontawesome\FontAwesomeAsset'
];

统计信息

  • 总下载量: 3.63k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-07-03