承接 sersid/yii2-font-awesome-asset 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

sersid/yii2-font-awesome-asset

最新稳定版本:v1.0.0

Composer 安装命令:

composer require sersid/yii2-font-awesome-asset

包简介

Adding FontAwesome to your Yii2 project via Composer

README 文档

README

Adding FontAwesome to your Yii2 project via Composer

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist sersid/yii2-font-awesome-asset "*"

or add

"sersid/yii2-font-awesome-asset": "*"

to the require section of your composer.json file.

Usage

The following example is if you wish to register the bundle on a specific view

// this code is written on that specific view
sersid\fontawesome\Asset::register($this);

But it could be that you wish to use it as part of another asset bundle or globally registered on your application. For the following example, we going to registered as part of the main application asset bundle AppAsset:

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

统计信息

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

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-4-Clause
  • 更新时间: 2014-11-26