assets - Symfony 3, include a css library with some dependencies -
from personal symfony 3 project, want use font-awesome library. in config.yml file added asset :
awesomefont_css: inputs: - '%kernel.root_dir%/../web/library/font-awesome/css/font-awesome.css'
i call asset index.php page :
{% stylesheets output="stylesheet.css" '@bootstrap_css' '@awesomefont_css' "@style_css" %} <link rel="stylesheet" href="{{ asset_url }}"/> {% endstylesheets %}
i cleared caches (via php bin/console cache:clear) when load php page, errors :
i understood library font-awesome need use files. question : how can/must add theses anothers files in symfony 3 ?
thanks !
i add samples symbolic links mywebsite/web/library/font-awesome/fonts/* mywebsite/web/fonts . don't know if there better solution don't find , work
Comments
Post a Comment