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
63 stars 7 forks source link

Updated README.md to match functionality #8

Closed fir3bird closed 3 months ago

fir3bird commented 3 months ago

Just stumbled across this little issue when I first initiated my own project. So maybe this would help others to get started faster. 😉

NyllRE commented 3 months ago

the edits you made were specific to using multiple files, if we need to add documentation for multiple files it should be differentiated from a single file, try to keep the old edits and add a different section for support for multiple files

fir3bird commented 3 months ago

@NyllRE for me at least the README did not work the way it was before. The server always throws an error that "file" is not defined. Furthermore as I have seen in the debugger the frontend sends an array "of files" even if it is only one. After I changed the server side to handle it as an array it worked for me, but not before.