Skip to content

Instantly share code, notes, and snippets.

@brunogarcia

brunogarcia/css.html.twig

Last active Sep 12, 2015
Embed
What would you like to do?
{# Main #}
{% stylesheets
'@AppBundle/Resources/public/sass/main.scss'
filter='sass'
output='css/main.css'
%}
<link href="{{ asset_url }}" rel="stylesheet" type="text/css" />
{% endstylesheets %}
{# Plugins #}
{% stylesheets
'bundles/app/css/plugins/font-awesome.css'
'bundles/app/css/plugins/bootstrap-datepicker.css'
'bundles/app/css/plugins/bootstrap-sweet-alert.css'
'bundles/app/css/plugins/bootstrap-tags-input.css'
filter='cssrewrite'
filter='?uglifycss'
output='css/plugins.css'
%}
<link href="{{ asset_url }}" rel="stylesheet" type="text/css" />
{% endstylesheets %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.