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;

  1. is best/correct way of referencing css (or javascript) thats in vendor directory symfony2 point of view? e.g. if there other syntax use?
  2. can make phpstorm correctly reference file not missing error?


Comments

Popular posts from this blog

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -