mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 09:22:34 +00:00
FileUpload upload file Nuxt updates
This commit is contained in:
parent
be0e3cbd20
commit
3c4f5d1ed8
5 changed files with 10 additions and 4 deletions
|
@ -3,7 +3,7 @@
|
|||
<p>When <i>auto</i> property is enabled, a file gets uploaded instantly after selection.</p>
|
||||
</DocSectionText>
|
||||
<div class="card flex justify-content-center">
|
||||
<FileUpload mode="basic" name="demo[]" url="./upload.php" accept="image/*" :maxFileSize="1000000" @upload="onUpload" :auto="true" chooseLabel="Browse" />
|
||||
<FileUpload mode="basic" name="demo[]" url="/api/upload" accept="image/*" :maxFileSize="1000000" @upload="onUpload" :auto="true" chooseLabel="Browse" />
|
||||
</div>
|
||||
<DocSectionCode :code="code" />
|
||||
</template>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue