今天在配置 semantic-ui-sass with Rails,链接如下: https://github.com/doabit/semantic-ui-sass#semantic-ui-sass-with-rails 按照方法配置网站的 CSS 可以工作,但 Javascript 就不工作,请问有无高手可以为我解答? 以下是我 application.js 配置后的内容:
// This is a manifest file that'll be compiled into application.js, which will include all the files
// listed below.
//
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
//
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
// compiled file.
//
// Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details
// about supported directives.
//
//= require jquery
//= require jquery_ujs
//= require turbolinks
// Loads all Semantic javascripts
//= require semantic-ui
//= require_tree .
谢谢!