0👍
You can’t. the thing about SPA is that your code runs on the browser. So you need server to do something like that.
The solution is just send your file to your server and let them handle the upload
- [Vuejs]-How to show date in 13-digit Unix Timestamp format in JSpreadSheet?
- [Vuejs]-Official docs of design components tags for vuejs is needed please
0👍
As I know you cannot upload something dynamically for src/assets folder. because it uses to save assets for development. you have to create some folder or if you using firebase like service then you want to add firebase storage like service as well. because src/assets folder is rendering when building the vue application. so after building vue app there are no more src/assets folder.
Source:stackexchange.com