Created
July 22, 2013 12:28
-
-
Save WishCow/6053473 to your computer and use it in GitHub Desktop.
Assetic groups in Symfony2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
assetic: | |
debug: %kernel.debug% | |
use_controller: false | |
bundles: [ YourBundle ] | |
assets: | |
frontend: | |
inputs: | |
- @YourBundle/Resources/public/css/cssreset-min.css | |
- @YourBundle/Resources/public/css/fonts.css | |
- @YourBundle/Resources/less/layout.less | |
- @YourBundle/Resources/less/homepage.less | |
# And then in your base.html.twig: | |
#{% block stylesheets %} | |
# {% stylesheets "@frontend" %} | |
# <link href="{{ asset_url }}" type="text/css" rel="stylesheet" media="all" /> | |
# {% endstylesheets %} | |
#{% endblock %} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment