M
M
Maxim2019-08-23 14:40:44
Ruby on Rails
Maxim, 2019-08-23 14:40:44

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

2 answer(s)
O
OnYourLips, 2019-08-23
@OnYourLips

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.

M
Maxim, 2019-08-23
@chernyshovmaksim56

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 question

Ask a Question

731 491 924 answers to any question