我收到了错误 Selectize: Dependency MicroPlugin is missingMake sure you either: (1) are using the "standalone" version of Selectize, or (2) require MicroPlugin before you load Selectize. application.js中: //= require jquery//= requi
Selectize: Dependency MicroPlugin is missing Make sure you either: (1) are using the "standalone" version of Selectize, or (2) require MicroPlugin before you load Selectize.
application.js中:
//= require jquery //= require jquery_ujs //= require selectize //= require turbolinks //= require bootstrap-sprockets //= require jquery.validate //= require jquery.validate.additional-methods //= require_tree .我将application.js更改为
//= require selectize/standalone/selectize
我通过查看负载路径来弄明白
~/.rvm/gems/ruby-2.3.1/gems/rails-assets-selectize-0.12.3/app/assets/javascripts
并且发现独立的是/selectize/standalone/selectize.js
我知道通过查看their examples来看那里.