ncuesta / dropzonejs-rails

Spice your Rails apps with some Dropzone sugar!
http://rubygems.org/gems/dropzonejs-rails
MIT License
312 stars 56 forks source link

Setup in Rails 6.0 #58

Closed kwhandy closed 3 years ago

kwhandy commented 3 years ago

I've been install this gem into my existing app but when I tried to require it inside my application.js(with webpacker) it doesn't work? What should I do?

ncuesta commented 3 years ago

Hi @kwhandy - this gem is intended for using it with Sprockets. If you're running webpacker in your project, I think you'll be better off by using the Dropzone JS lib directly by installing it with yarn or npm.