JLUpload

Props

  • allowedFileType - file type to accept, currently supports 'CSV' or 'JSON'
  • endpoint - URL where data will be sent by POST

Example

<script lang="ts" setup>
import { JLUpload } from '@juicyllama/frontend-core'
</script>

<template>
    <JLUpload :allowedFileType="'CSV'" :endpoint="'/upload'"> Upload CSV</JLUpload>
</template>

Docs v.0.14.0 Copyright © 2024