Answer the question
In order to leave comments, you need to log in
Ruby on Rails 6.0.0, including scripts?
Is it possible to use the old scripting format in Ruby on Rails 6.0.0?
Like:
//= require dropzone
Or do you have to suffer with webpacker ?
Answer the question
In order to leave comments, you need to log in
The most convenient approach for interaction between backend and frontend is the separation of projects (and repositories).
And each project uses its own build and test tools.
Let me describe the problem more specifically.
There is gem dropzonejs-rails
On GitHub - https://github.com/ncuesta/dropzonejs-rails
Instructions for including this gem are described.
The connection is implemented through the construction "//= require dropzone"
I do not understand how to use it in conjunction with the webpacker tool.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question