Get Started

Overview

Get started with Nuxt Upload Kit in your Nuxt application.

Getting Started

Experimental Module — This module is under active development and the API may change between versions. Use in production at your own risk.

Get started with Nuxt Upload Kit by installing the module and adding it to your Nuxt configuration.

Quick Setup

Install the module

Terminal
pnpm add nuxt-upload-kit

Or use your preferred package manager: npm install nuxt-upload-kit or yarn add nuxt-upload-kit

Add to Nuxt config

Add nuxt-upload-kit to the modules section of your nuxt.config.ts:

nuxt.config.ts
export default defineNuxtConfig({
  modules: ["nuxt-upload-kit"],
})

Start using

The useUploadKit composable is now auto-imported and ready to use:

app.vue
<script setup>
const uploader = useUploadKit({
  maxFiles: 10,
  thumbnails: true,
})
</script>

Optional Dependencies

Nuxt Upload Kit has optional peer dependencies for advanced features.

Video Compression

For video compression support using FFmpeg in the browser:

Terminal
pnpm add @ffmpeg/ffmpeg @ffmpeg/util

Azure Data Lake Storage

For Azure Data Lake storage support:

Terminal
pnpm add @azure/storage-file-datalake

TypeScript

Nuxt Upload Kit is written in TypeScript and ships with full type definitions. Types are automatically available when you use the module.

You can also import types directly if needed:

import type { UploadFile, UploadOptions, ProcessingPlugin, StoragePlugin } from "nuxt-upload-kit"

Troubleshooting

If you encounter issues during installation:

  1. Use a NodeJS LTS version - We recommend Node.js 18.x or 20.x
  2. Clear your package manager cache and reinstall:
    rm -rf node_modules pnpm-lock.yaml
    pnpm install
    
  3. Ensure Nuxt is up to date - The module requires Nuxt 3.x or later

If issues persist, please open an issue with your environment details and error messages.

Copyright © 2026