Ask A Question
You’re not receiving notifications from this thread.
Thoughts on the best way to upload images via Vuejs front end with Rails 5.2 API backend
I have an app I've just updated to Rails 5.2 and migrated away from Paperclip for image uploads to S3 to the new ActiveStorage feature. I am able to display some uploaded photos I did with the html version of the site, but I don't know how to access the Blob via VueJS to display the images in the database. That then also leads me to the second question here, what would be the best way to upload images through a VueJS front end? Would I continue to try and use Active Storage, or would I swap to something like http://www.dropzonejs.com/ ?