
Company News
Andrew Becherer Joins Socket as Chief Information Security Officer
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.
@linear-webdev/linear-uploadthing-vue
Advanced tools
Learn more: [docs.uploadthing.com](https://docs.uploadthing.com)
Learn more: docs.uploadthing.com
// utils/uploadthing.ts
import {
generateUploadButton,
generateUploadDropzone,
generateVueHelpers,
} from "@uploadthing/vue";
export const UploadButton = generateUploadButton<OurFileRouter>();
export const UploadDropzone = generateUploadDropzone<OurFileRouter>();
export const { useUploadThing } = generateVueHelpers<OurFileRouter>();
<script setup lang="ts">
import type { OurFileRouter } from "server/uploadthing";
import { UploadButton, UploadDropzone } from "~/utils/uploadthing";
</script>
<template>
<main
class="flex min-h-screen flex-col items-center justify-center gap-16 p-24"
>
<div class="flex flex-col items-center justify-center gap-4">
<span class="text-center text-4xl font-bold">
Upload a file using a button:
</span>
<UploadButton
:config="{
endpoint: 'videoAndImage',
}"
/>
</div>
<div className="flex flex-col items-center justify-center gap-4">
<span className="text-center text-4xl font-bold">
...or using a dropzone:
</span>
<UploadDropzone
:config="{
endpoint: 'withMdwr',
}"
/>
</div>
</main>
</template>
FAQs
Learn more: [docs.uploadthing.com](https://docs.uploadthing.com)
The npm package @linear-webdev/linear-uploadthing-vue receives a total of 0 weekly downloads. As such, @linear-webdev/linear-uploadthing-vue popularity was classified as not popular.
We found that @linear-webdev/linear-uploadthing-vue demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.

Company News
Replit is integrating Socket Firewall into its AI-powered development experience to help protect builders from malicious open source packages.

Security News
npm confirmed a tooling bug incorrectly marked several one-character packages as security holders and said it was working on a rollback.