This extension adds asset support from Symfony component. For further information please have a look into the documentations:
- http://symfony.com/blog/new-in-symfony-2-7-the-new-asset-component
- http://symfony.com/doc/2.7/components/asset/introduction.html
- http://symfony.com/doc/current/reference/configuration/framework.html
Install this extension over the bolt backend.
The configuration is the same like in a Symfony project. Have a look at the following links:
- http://symfony.com/blog/new-in-symfony-2-7-the-new-asset-component
- http://symfony.com/doc/2.7/components/asset/introduction.html
- http://symfony.com/doc/current/reference/configuration/framework.html
By default {{ asset('image.jpg') }}
will return the link to the image.jpg
without version number. You
must specify one in the config.
Some examples are in the config file.