ql/fontawesome-bundle
Composer 安装命令:
composer require ql/fontawesome-bundle
包简介
FontAwesome Bundle for Symfony2
README 文档
README
Current Version
Font Awesome 3.2.1 - Created & Maintained by Dave Gandy
Installation
Add bundle to your composer.json file
// composer.json { "require": { // ... "ql/fontawesome-bundle": "*" } }
Add bundle to your application kernel
// app/AppKernel.php public function registerBundles() { $bundles = array( // ... new Ql\FontAwesomeBundle\QlFontAwesomeBundle(), // ... ); }
Download the bundle using Composer and Install assets
$ php composer.phar update ql/fontawesome-bundle $ php app/console assets:install --symlink web
Use the --symlink attribute to create links rather than copies of the resources
Usage
Easy Bootstrap + Font Awesome Integration
head section in your template, e.g.
<link rel="stylesheet" type="text/css" href="{{ asset('..Your/Bootstrap/css..') }}" /> <link rel="stylesheet" type="text/css" href="{{ asset('bundles/qlfontawesome/css/font-awesome.min.css') }}" />
Custom Bootstrap + Font Awesome Integration using LESS
References
统计信息
- 总下载量: 176
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2013-01-04