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 :

enter image description here

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

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -