Overview
Getting Started
Get started with Nuxt Upload Kit by installing the module and adding it to your Nuxt configuration.
Quick Setup
Install the module
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:
export default defineNuxtConfig({
modules: ["nuxt-upload-kit"],
})
Start using
The useUploadKit composable is now auto-imported and ready to use:
<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:
pnpm add @ffmpeg/ffmpeg @ffmpeg/util
Azure Data Lake Storage
For Azure Data Lake storage support:
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:
- Use a NodeJS LTS version - We recommend Node.js 18.x or 20.x
- Clear your package manager cache and reinstall:
rm -rf node_modules pnpm-lock.yaml pnpm install - 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.

