Changes between Version 1 and Version 2 of UZ


Ignore:
Timestamp:
2022.10.03 17:55:13 (2 years ago)
Author:
js29a
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UZ

    v1 v2  
    33== Aim of this article
    44
    5 In this article I'm about to demonstrate how to create and use generic file uploader component. You can use it not only with bare Vue-3 but also with Quasar, Vuetify or other Vue-3 toolkit.
     5In this article I'm about to demonstrate how to create and use generic file uploader component. You can use it not only with bare Vue-3 but also with Quasar, Vuetify or other Vue-3 toolkit. This article describes only browser-side concerns. You need to provide server side by you own.
    66
    77The repository is also mirrored on !GitHub.
     
    1515* rudimental knowlegde of jQuery `ajax` command.
    1616
     17== General info
     18
     19Described component is based on a simple state machine. It has no UI by itself so you need to provide some UI on your own. To accomplish this not only component instantation is needed but there is also need to fill its //slots//. The component has several config options from which actually only one needs to be provided (i.e. target upload URL). Other options control component behavior but they will be explained later. After providing target upload URL there is need to fill component slots by your own UI. Here I will describe generic browser UI only. If you are familiar with e.g. Quasar you can implement the UI on your own.
     20
     21== Basic component usage
     22
    1723----
    1824