dropzone

Public
install dropzone
Icons/chart bar
Used 10 times
Created by
C Clément Prod'homme

Usage

Run this command in your Rails app directory in the terminal:

rails app:template LOCATION="https://railsbytes.com/script/Xg8sA7"
Template Source

Review the code before running this template on your machine.

run "yarn add dropzone --dev"

append_to_file "app/javascript/packs/application.js" do 
  "import Dropzone from 'dropzone'"
end

puts ''
puts '------------------'
puts "Just add the '.dropzone' class on form" 
puts "See more details here : https://www.dropzonejs.com/#usage"
Comments

Sign up or Login to leave a comment.