Rails 3.1 and jquery-ui assets

后端 未结 8 1787
小鲜肉
小鲜肉 2020-12-02 05:10

This was asked in another question, but none of the solutions appear to work for me in 3.1rc1.

I\'m trying to use the new assets stuff in rails 3.1 - I have the file

相关标签:
8条回答
  • 2020-12-02 05:36

    If you're using the jquery-ui-rails gem:

    application.css

    /*
     *= require jquery.ui.all
     */
    

    application.js

    //= require jquery.ui.all
    
    0 讨论(0)
  • 2020-12-02 05:38

    This is a great article to read about Rails 3.1's asset pipeline and jQuery UI: JQuery-UI css and images, and Rails Asset Pipeline

    0 讨论(0)
提交回复
热议问题