I have a vue web app where you can upload images. When I was creating it, I was running it on localhost with hot-reload on.
However, when I hosted my app at digitalocean and used this command (npm run build
) I faced a problem. As far as I understand it, vue had built my app, and then started ignoring new files.
I've already tried to put the uploads folder outside of vue app but it didn't help me.
How to upload images and dynamically be able to access them?
By the way my stack is: Vue.js (frontend), Laravel (backend) and nginx.