I tried adding it with yarn and through rails assets but nothings seems to work.
Bit low on info to really help you here. Any errors (from console) you can share? What is your current set up?
I added it with
yarn add easy-automplete
//= require actiontext @import 'bootstrap'; @import 'easy-autocomplete/dist/easy-autocomplete'; @import 'easy-autocomplete/dist/easy-autocomplete.themes';
My first guess is you haven't added
yarn add jquery. Are you also sure these
@imports are correct?
I'm sure the console from in your dev tools would give you another clue.
I just get this error
Uncaught TypeError: $(...).easyAutocomplete is not a function at <anonymous>:1:12
Join 27,623+ developers who get early access to new screencasts, articles, guides, updates, and more.