> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://uploadcare.com/docs/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://uploadcare.com/docs/_mcp/server.

# Vue File Uploader

> Integrate Uploadcare File Uploader into Vue using Web Components.

Use this integration when you want Uploadcare File Uploader in Vue with the Web Components package.

## Minimal setup

1. Install package:

```bash
npm install @uploadcare/file-uploader
```

2. Configure Vue compiler to treat Uploadcare tags as custom elements (for example in Vite config).

3. Register Uploadcare components and add uploader elements to your Vue views/components.

Read setup details in:

* [Installation](/docs/file-uploader/installation/)
* [Configuration](/docs/file-uploader/configuration/)

## Example

* [Vue example (GitHub)](https://github.com/uploadcare/file-uploader-examples/tree/main/examples/vue-uploader)

[![Play with CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/devbox/github/uploadcare/file-uploader-examples/tree/main/examples/vue-uploader)

[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/uploadcare/file-uploader-examples/tree/main/examples/vue-uploader)

This example includes:

* regular and minimal uploader modes
* event-driven preview updates
* custom source plugin integration

## Related File Uploader docs

* [Overview](/docs/file-uploader/)
* [Events](/docs/file-uploader/events/)
* [API](/docs/file-uploader/api/)
* [Styling](/docs/file-uploader/styling/)
* [Plugin API](/docs/file-uploader/plugins/)

## Vue-specific notes

* Configure `isCustomElement` for `uc-*` tags.
* Handle uploader event listeners with proper mount/unmount lifecycle cleanup when using manual listeners.
* For secure upload flows, review [Security settings](/docs/file-uploader/security/).