Integrated Content Bundle
This bundle provides the document structure for Integrated.
This bundle can be installed following these steps:
$ php composer.phar require integrated/content-bundle
// app/AppKernel.php
public function registerBundles()
{
return array(
// ...
new Integrated\Bundle\ContentBundle\IntegratedContentBundle()
// ...
);
}
# app/config/routing.yml
integrated_content:
resource: @IntegratedContentBundle/Resources/config/routing.xml
The IntegratedContentBundle uses the SpBowerBundle for handling the external resources.
# app/config/config.yml
sp_bower:
bundles:
IntegratedContentBundle: ~
The base template of the ContentBundle uses two named assets:
integrated_jsintegrated_cssThese two named assets must be defined in the app/config/config.yml.
The IntegratedContentBundle uses Sass for generating the stylesheet, in order to use these files a Sass filter can be used:
# app/config/config.yml
assetic:
# ...
filters:
sass:
bin: /usr/bin/sass
apply_to: "\.scss$"
style: compressed
# ...
assets:
integrated_css:
inputs:
- @IntegratedContentBundle/Resources/public/sass/main.scss
filters:
- sass
output: css/main.css
integrated_js:
inputs:
# Add your custom javascript files here
This bundle is under the MIT license. See the complete license in the bundle:
LICENSE
Pull requests are welcome. Please see our CONTRIBUTING guide.
This bundle is part of the Integrated project. You can read more about this project on the Integrated for Developers website.