From 6e07ed8c51946623d9536b607ba335ac512ac24f Mon Sep 17 00:00:00 2001 From: Max Nutdanai <41448818+MNutdanai@users.noreply.github.com> Date: Wed, 25 Sep 2024 13:31:21 +0700 Subject: [PATCH] add alias of "#ui" (#5) * @nuxt/ui move to dependencies * add alias of "#ui" --------- Co-authored-by: Max Nutdanai --- nuxt.config.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nuxt.config.ts b/nuxt.config.ts index bc8baa9..8f22a25 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -23,6 +23,10 @@ export default defineNuxtConfig({ ], }, + alias: { + "#ui": "@nuxt/ui/dist/runtime", + }, + components: { dirs: [{ path: "~/components/Ui", pathPrefix: false }, "~/components"], },