@@ -29,8 +29,8 @@ much more concise:
29
29
.. note ::
30
30
31
31
Keep in mind that ``web/ `` is a public directory and that anything stored
32
- here will be publicly accessible. For that reason, you should put your
33
- compiled web assets here, but not their source files (e.g. SASS files).
32
+ here will be publicly accessible, including all the original asset files
33
+ (e.g. Sass, LESS and CoffeScript files).
34
34
35
35
Using Assetic
36
36
-------------
@@ -51,16 +51,15 @@ tools like GruntJS.
51
51
52
52
:doc: `Assetic </cookbook/assetic/asset_management >` is an asset manager capable
53
53
of compiling assets developed with a lot of different frontend technologies
54
- like LESS, Sass and CoffeeScript.
55
- Combining all your assets with Assetic is a matter of wrapping all the assets
56
- with a single Twig tag:
54
+ like LESS, Sass and CoffeeScript. Combining all your assets with Assetic is a
55
+ matter of wrapping all the assets with a single Twig tag:
57
56
58
57
.. code-block :: html+jinja
59
58
60
59
{% stylesheets
61
60
'css/bootstrap.min.css'
62
61
'css/main.css'
63
- filter='cssrewrite' output='css/compiled/all .css' %}
62
+ filter='cssrewrite' output='css/compiled/app .css' %}
64
63
<link rel="stylesheet" href="{{ asset_url }}" />
65
64
{% endstylesheets %}
66
65
@@ -69,7 +68,7 @@ with a single Twig tag:
69
68
{% javascripts
70
69
'js/jquery.min.js'
71
70
'js/bootstrap.min.js'
72
- output='js/compiled/all .js' %}
71
+ output='js/compiled/app .js' %}
73
72
<script src="{{ asset_url }}"></script>
74
73
{% endjavascripts %}
75
74
0 commit comments