lx/bootstrap-bundle 问题修复 & 功能扩展

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

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

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

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: CSS

其他信息

  • 授权协议: Unknown
  • 更新时间: 2012-11-09

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固