NyllRE / nuxt-file-storage

Easy solution to store files in your nuxt apps. Be able to upload files from the frontend and recieve them from the backend to then save the files in your project.
https://nuxt.com/modules/nuxt-file-storage
MIT License
74 stars 10 forks source link

fix: return more file properties for use in saving #5

Closed puzzle-it-nu closed 5 months ago

puzzle-it-nu commented 5 months ago

This fixes issue #4 for me because of the extra properties that are now available in de backend.

NyllRE commented 5 months ago

looks great! have you tested this locally?

puzzle-it-nu commented 5 months ago

looks great! have you tested this locally?

Yes, using the builtin playground and it seems to work. I had some console.logs in there and I used file.name instead of the number in storeFileLocally and it saved the files with the correct name.

NyllRE commented 5 months ago

great! sorry for the delay but tomorrow I will test it and push the updates to npm

puzzle-it-nu commented 5 months ago

great! sorry for the delay but tomorrow I will test it and push the updates to npm

No worries, thanks for looking into it.

I had a problem with testing it though but that is probably my lack of knowledge on howto use local npm packages and pnpm (npm didn't work either).