QUploader
-
Hi! Somebody can tell me how to use this component? Can show your code example? Thanks
-
Hi @snezhkois,
Here is an exemple of my code :
- First you have to import the component in the
quasar.conf.js
:
framework: { components: ['QUploader'] }
-
In the html <template> part :
<q-uploader :url="url" float-label="Choose a picture to import"/>
-> This will create the component in the dom -
In the data in script part you have to define the ‘url’ variable which has to be a URL or path to the server which handles the upload:
url: 'pathToMyServer'
Hope it will help you but if you red the doc it’s even more clear
- First you have to import the component in the
-
@sweetyy thk