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.
Installs: 158
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Language:CSS
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.