2

i want to deploy a dropzone component on a nodes project.

I typed:

    npm install dropzone

This gives me those files:

   node_modules/dropzone/dist/dropzone.js
   node_modules/dropzone/dist/dropzone.css

But i do not understand why those files are not automatically copied in public/ folder. I had to copy those files manually to my public/css and public/js folders. It works fine but i am wondering if my copy is dirty or not. Is there a cleanest way to install dropzone component ?

testpresta
  • 409
  • 3
  • 14

1 Answers1

0

because you suppose to include them into your asset Compiling tool, something like laravel mix, laravel elixir, gulp, Webpack or similar.

Yevgeniy Afanasyev
  • 32,743
  • 20
  • 155
  • 172