lx/bootstrap-bundle

This package is abandoned and no longer maintained. No replacement package was suggested.
There is no license information available for the latest version (v2.3.1) of this package.

This bundle provides Twitter's "Bootstrap" framework written in SCSS(https://github.com/jlong/sass-twitter-bootstrap) and Javascript for the Symfony2 framework.

v2.3.1 2013-04-05 19:26 UTC

This package is not auto-updated.

Last update: 2022-02-01 12:22:13 UTC


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.