teepluss / laravel-theme

Theme and asset managing for laravel
MIT License
546 stars 132 forks source link

css file added as javascript #60

Closed maxi032 closed 10 years ago

maxi032 commented 10 years ago

I wish to use this file: http://fonts.googleapis.com/css?family=Righteous and $theme->asset()->add('googlefont', 'http://fonts.googleapis.com/css?family=Righteous'); is adding it as a javascript asset so it is embeded in script tags. Most likely because of ?family=xxxx

teepluss commented 10 years ago
$theme->asset()->style('googlefont', 'http://fonts.googleapis.com/css?family=Righteous');