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

后端 未结 8 1187
滥情空心
滥情空心 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:09

    Just remember //= require jquery.ui.all needs to be after //= require_tree .

    Wasted a lot of my time because of this as most of Jquery UI functionalities won't work.

提交回复
热议问题