Vue.js Project to Upload Multiple Images With Live Preview Using vue-media-upload Library in Javascript

  • Post author:
  • Post category:Vue
  • Post comments:0 Comments

 

 

🖼️ vue-media-upload

📷 vue-media-upload is a vue package for multiple images upload with preview.

🖼️ vue-media-upload support the create and the update form, and it will handle the upload for you.

👀 Demo

vue-media-upload - multiple image upload with preview

💻 Install

via npm

or via yarn

🕹 Usage

 

 

 

 

Props

<upload-media /> component

Props Type Default Description
error String If this prop is not null it will apply the error styling and show the error message.
server String /api/upload The api that will temporary save the image.

<update-media /> component

Props Type Default Description
error String If this prop is not null it will apply the error styling and show the error message.
server String /api/upload The api that will temporary save the image.
media_server String The api that will return the saved images names.
media_file_path String /post_images The file where the saved media are stored.

 

Leave a Reply