It’s working with the open option.
devServer: {
open: 'Google Chrome'
},
It’s working with the open option.
devServer: {
open: 'Google Chrome'
},
@uploaded -> function(info) has a Parameter “info” which has wo props: “files” and “xhr”.
When you are doing following it works.
In the QUploader:
@uploaded=“fileUploaded”
and in the methods:
fileUploaded ({ files, xhr }) {
console.log(JSON.parse(xhr.response))
}
Which OS you have? On Mac it’s work.
“The browser application name is platform dependent. Don’t hard code it in reusable modules. For example, ‘Chrome’ is ‘Google Chrome’ on macOS, ‘google-chrome’ on Linux and ‘chrome’ on Windows.” Source: https://webpack.js.org/configuration/dev-server/#devserver-open
It’s working with the open option.
devServer: {
open: 'Google Chrome'
},
@uploaded -> function(info) has a Parameter “info” which has wo props: “files” and “xhr”.
When you are doing following it works.
In the QUploader:
@uploaded=“fileUploaded”
and in the methods:
fileUploaded ({ files, xhr }) {
console.log(JSON.parse(xhr.response))
}
It is a long time ago but what you can do is to resolve() instead of resolve(files). This works for me.