How do I add jquery-ui to a Ruby on Rails 3.1 app?

后端 未结 8 1173
滥情空心
滥情空心 2020-12-17 10:31

I have added //=require jquery-ui to my application.js file and that seems to give me the javascript but I can\'t seem to get the stylesheets to be included. If

8条回答
  •  無奈伤痛
    2020-12-17 11:15

    Perhaps it's easier to use the jquery-ui-rails gem (see announcement). It packages everything up so things "just work".

提交回复
热议问题