How to include jquery.js in Grails?

后端 未结 10 2128
北海茫月
北海茫月 2021-02-05 06:50

I have a Grails 2.0.0 project that was created using grails create-app. In my HTML and GSP files, I\'m trying to include jquery.js. I\'ve tried all of

10条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-05 07:16

    The jquery plugin is installed by default in 2.0 - see grails-app/conf/BuildConfig.groovy. To use jquery.js in a GSP just add this line:

    
    

提交回复
热议问题