How to include External CSS and JS file in Laravel 5

后端 未结 14 1828
庸人自扰
庸人自扰 2020-11-30 19:18

I am Using Laravel 5.0 , the Form and Html Helper are removed from this version , i dont know how to include external css and js files in my header file. Currently i am usin

14条回答
  •  刺人心
    刺人心 (楼主)
    2020-11-30 19:35

    There are many ways to include external css and js files as specified in below code but you can choose one of them, i have tested them all, they work the same.

    
    
    
    
    

    Maybe there are more ways to load it.

    but keep in mind that if you are loading the css and js from other than a public folder then better to use Laravel mix.

提交回复
热议问题