-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added a section about using named assets #3496
Conversation
Could you please add the PR format to your PR description? |
~~~~~~~~~~~~~~~~~~ | ||
|
||
AsseticBundle configuration directives allow you to define named asset sets. You can do so | ||
by defining the input files, filters and output files in your ``config.yml`` under ``assetic`` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[...] in your configutation under the ``assetic``
section. Read more in the :doc:`assetic config reference </reference/configuration/assetic>`
Great thanks! I made the fixes, even I'm afraid I did not fully figure out the meaning of the PR Format's lines Doc fix / New docs. |
|
||
AsseticBundle configuration directives allow you to define named asset sets. | ||
You can do so by defining the input files, filters and output files in your in | ||
your configutation under the ``assetic`` section. Read more in the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
doubled in your
|
), | ||
); | ||
|
||
After you have defined the named assets, you can reference them in your templates with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
with the ``@named_asset`` notation
Hey Ville! This is a great missing piece of documentation to cover - thanks for opening the PR! There are just a few comments remaining - can you make those tweaks? Thanks! |
Yes, they are now fixed! |
Wow, very fast and great job - you rock Ville! Thanks! |
This PR was submitted for the master branch but it was merged into the 2.3 branch instead (closes #3496). Discussion ---------- Added a section about using named assets This PR will add a section about named assets to the asset management page. | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | all | Fixed tickets | Commits ------- 9c9743e Added a section about using named assets
This PR will add a section about named assets to the asset management page.