quasar icon indicating copy to clipboard operation
quasar copied to clipboard

QUploaderAddTrigger import failure (Q-Uploader Custom Header)

Open daniel-rau opened this issue 7 years ago • 3 comments

I am working on a Vue/Quasar (v.1.0 beta) project right now where I want to customize the headers for q-uploader. When I try to add "QUploaderAddTrigger" to my quasar.conf.js file, I get the following error.

Failed to compile. ./.quasar/import-quasar.js Module build failed (from ./node_modules/babel-loader/lib/index.js): Error: Unknown import from Quasar: QUploaderAddTrigger

When I try to use without "QUploaderAddTrigger" imported, I get an error that says that is an unknown custom element.

Is there another way that I can do custom headers for q-uploader that has not been added to the docs yet, or is this a bug?

daniel-rau avatar May 22 '19 21:05 daniel-rau

Hi,

Upgrade to latest version of Quasar. quasar package should be at at least version beta.24.

rstoenescu avatar May 23 '19 08:05 rstoenescu

Thank you for the help. This works for me now (I was on beta.11).

daniel-rau avatar May 23 '19 16:05 daniel-rau

It is paramount to keep dependencies up to date until final v1.

rstoenescu avatar May 23 '19 16:05 rstoenescu