diff --git a/docs/src/app/(docs)/getting-started/nuxt/page.mdx b/docs/src/app/(docs)/getting-started/nuxt/page.mdx index a14c8371fa..590e3644ca 100644 --- a/docs/src/app/(docs)/getting-started/nuxt/page.mdx +++ b/docs/src/app/(docs)/getting-started/nuxt/page.mdx @@ -96,7 +96,7 @@ the [File Router API](/file-routes). `UploadRouter` for the module to pick up your router and it's types. -```ts {{ title: "src/lib/server/uploadthing.ts" }} +```ts {{ title: "server/uploadthing.ts" }} import type { H3Event } from "h3"; import { createUploadthing } from "uploadthing/h3"; diff --git a/packages/nuxt/playground/nuxt.config.ts b/packages/nuxt/playground/nuxt.config.ts index 1dda172218..ff0b9af414 100644 --- a/packages/nuxt/playground/nuxt.config.ts +++ b/packages/nuxt/playground/nuxt.config.ts @@ -3,4 +3,5 @@ export default defineNuxtConfig({ devtools: { enabled: true }, modules: ["../src/module", "@nuxtjs/tailwindcss"], telemetry: false, + compatibilityDate: "2024-04-03", });