A simple upload widget with progress indicator made for Vuetify and Cloudinary
npm install vuetify-cloudinary-upload
Import the component
<script>
import vuetifyCloudinaryUpload from 'vuetify-cloudinary-upload'
export default {
components: { vuetifyCloudinaryUpload }
}
</script>
Use it in your template
<v-cloudinary-upload
v-model="image"
upload-preset="cloudinary-preset-name"
cloud-name="cloudinary-cloud-name"
/>
Type: String
Required: the data you want to bind
Type: String
Required: The cloudinary upload preset
Type: String
Required: The name of your Cloudinary account
Type: String
Default: w_120,h_120,c_fill,g_auto,q_auto,f_auto
The image transformation (uploaded image format)
Type: String
Default: ``
Vuetify's upload button color
Type: Boolean
Default: false
Upload button dark variant (makes text white)
Type: String
Default: add_a_photo
The upload button icon
Type: String
Default: Add image
The upload button text
Type: String
Default: Delete
The delete button text
Type: Number
Default: 100
Size of the circular progress indicator
Type: Number
Default: 15
Stroke size of the circular progress indicator
Type: String
Default: primary
The component uses FormData and XMLHttpRequest features, so watch out for browser support