Getting Started with Kendo UI for Vue Upload

The Kendo UI for Vue Upload helps users send files from their file systems to dedicated server handlers which are configured to receive them.

The Kendo UI for Vue Upload component is part of the Kendo UI for Vue library of Vue UI components. It is distributed through NPM under the kendo-vue-upload package.

The Upload Component is part of Kendo UI for Vue, a professional grade UI library with 90+ components for building modern and feature-rich applications. To try it out sign up for a free 30-day trial.

Basic Usage

The following example demonstrates the Upload in action.

Example
View Source
Edit In Stackblitz  
Change Theme:

Functionality and Features

Installation

To initialize the Upload, either:

Using CDN

You need to reference the upload and intl package, in order to be able to use the Kendo Native Upload for Vue with CDN.

  <script src="https://unpkg.com/@progress/kendo-vue-intl@latest/dist/cdn/js/kendo-vue-intl.js"></script>
  <script src="https://unpkg.com/@progress/kendo-vue-upload@latest/dist/cdn/js/kendo-vue-upload.js"></script>

Initializing with Webpack

  1. Download and install the package. Use Node.js v5.0.0 or later.

    npm install --save @progress/kendo-vue-upload @progress/kendo-licensing
  2. Once installed, import the package module.

    // ES2015 module syntax
    import { Upload } from '@progress/kendo-vue-upload';
    // CommonJS format
    const { Upload } = require('@progress/kendo-vue-upload');
  3. You are required to install one of the Kendo UI for Vue themes to style your components. For more information on how to add the styles, refer to the article on getting started.

  4. Follow the instructions on the Kendo UI for Vue My License page to activate your license. You can skip this step if your application already contains a Kendo UI for Vue license file.

Dependencies

The Upload package requires the following peer dependencies that have to be installed by your application:

  • vue 2.6.11 or 3.0.0
  • @progress/kendo-licensing

Events

The following example demonstrates basic Upload events.

Example
View Source
Edit In Stackblitz  
Change Theme: