php - laravel 5 Library for load CSS, JavaScript -


i want include css , javascript of laravel 5 helper. don't know there.

href="{{ url() }}/assets/css/bootstrap.css" rel="stylesheet" 

i need load helper of laravel. not traditional.

please suggestion tell me.

in laravel can use provided html class including css , js in project

stylesheet:

{{ html::style('css/style.css') }} 

javascript:

{{ html::script('js/your_js_file.js') }} 

note:

you can use url class

js

{{ url::asset('js/your_js_file.js'); }}

style

{{ url::asset('css/style.css'); }} 

edit:

if using laravel 5 find solution here http://laravel.io/forum/09-20-2014-html-form-class-not-found-in-laravel-5


Comments

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

javascript - Complex json ng-repeat -

jquery - Cloning of rows and columns from the old table into the new with colSpan and rowSpan -