Reason
Current starter example passing in the input from the form form.image which does not have 'length'
Solution
My personal solution was to follow the example more closely from the linked https://hub.nuxt.com/docs/storage/blob#useupload but even that didn't work out of the box.
Expected To upload an image and see it persist as the code suggests it should
Experienced useUpload.js thows 'Missing files'
Cause This error thrown from useUpload.js when data.length is undefined.
Reason Current starter example passing in the
input
from the formform.image
which does not have 'length'Solution My personal solution was to follow the example more closely from the linked
https://hub.nuxt.com/docs/storage/blob#useupload
but even that didn't work out of the box.Fix
Seems to do the trick