how to add jquery in laravel project

前端 未结 5 673
忘了有多久
忘了有多久 2020-12-09 08:11

I am new to laravel framework. I want to use jQuery in web application built using laravel framework.

But don\'t know how to link to jQuery library

5条回答
  •  一向
    一向 (楼主)
    2020-12-09 08:59

    you can use online library

    
    
    
    
    

    or else download library and add css in css folder and jquery in js folder.both folder you keep in laravel public folder then you can link like below

    
    
    

    or else

    {{ HTML::style('css/style.css') }}
    {{ HTML::script('js/functions.js') }}
    

提交回复
热议问题