Skip to main content
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

Javascript • Asked by Simon Cooper
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 ?

Login or Create An Account to join the conversation.

Subscribe to the newsletter

Join 31,152+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.