lx/bootstrap-bundle
最新稳定版本:v2.3.1
Composer 安装命令:
composer require lx/bootstrap-bundle
包简介
This bundle provides Twitter's "Bootstrap" framework written in SCSS(https://github.com/jlong/sass-twitter-bootstrap) and Javascript for the Symfony2 framework.
README 文档
README
The support for this bundle is discontinued. Read why: http://matznermatzner.de/en/bernd/2013/11/dont-use-my-symfony2-bundles/
BootstrapBundle
This bundle provides the "Twitter Bootstrap" framework written in SCSS(https://github.com/jlong/sass-twitter-bootstrap) and Javascript for the Symfony2 framework.
##Install Add the bundle to your AppKernel::registerBundles() method and run assets:install.
class AppKernel extends Kernel { public function registerBundles() { $bundles = array( new lx\BoostrapBundle\lxBoostrapBundle, ); } }
Then go to your config.yml and add %assetic.sass.sources.bootstrap% to your compass load paths.
Please note: Through the fact that the syfmony/AsseticBundle does not provide the possibility to add load paths in the config you have to use compass as filter.
assetic: filters: sass: #this wont work load_paths: - %assetic.sass.sources.boostrap% compass: #this works fine load_paths: - %assetic.sass.sources.boostrap%
##Use Just import the files with a twitter prefix.
@import "twitter/boostrap"; @import "twitter/responsive";
BootstrapBundle/
js/
scss/
Resources/
public
images/
For further instructions see: http://symfony.com/doc/2.0/cookbook/assetic/asset_management.html
Please note: This only a use simplification of https://github.com/jlong/sass-twitter-bootstrap and https://github.com/twitter/bootstrap for the Symfony2 framework.
统计信息
- 总下载量: 158
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2012-11-09