symfony - Correct way to reference CSS in /vendor in Symfony2 and PHPStorm -
i can correctly reference css in vendor directory so
{% stylesheets output='css/compiled/main.css' '@appbundle/resources/public/css/lib/bootstrap.min.css' '../vendor/kartik-v/bootstrap-star-rating/css/star-rating.css' %} <link rel="stylesheet" type="text/css" media="screen" href="{{ asset_url }}" /> {% endstylesheets %}
this works. phpstorm, ide, shows file @ /vendor/kartik-v/bootstrap-star-rating/css/star-rating.css
cannot found. , highlights warning.
this raises 2 questions;
- is best/correct way of referencing css (or javascript) thats in vendor directory symfony2 point of view? e.g. if there other syntax use?
- can make phpstorm correctly reference file not missing error?
Comments
Post a Comment