From f4ed17a89323b2985c1f36cfdcc1d8fc8ac228a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=98=99=E2=97=A6=20The=20Tablet=20=E2=9D=80=20GamerGirla?= =?UTF-8?q?ndCo=20=E2=97=A6=E2=9D=A7?= Date: Wed, 20 Dec 2023 18:06:16 -0500 Subject: [PATCH] fix(nuxt): fix broken import path in alias --- nuxt.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nuxt.config.ts b/nuxt.config.ts index 0210aee..cc70c82 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -117,7 +117,7 @@ export default defineNuxtConfig({ // }, // ssr: false, alias: { - "@models": fileURLToPath(new URL("./lib/models", import.meta.url)), + "@models": fileURLToPath(new URL("./models", import.meta.url)), "@client": fileURLToPath(new URL("./lib/client", import.meta.url)), "@server": fileURLToPath(new URL("./lib/server", import.meta.url)), "@models/*": fileURLToPath(new URL("./models/*", import.meta.url)),