From f8a6369f839446d130c2c02388820b1c9cc64fa2 Mon Sep 17 00:00:00 2001 From: Max Nutdanai <41448818+MNutdanai@users.noreply.github.com> Date: Wed, 25 Sep 2024 14:46:47 +0700 Subject: [PATCH] add build transpile (#7) * @nuxt/ui move to dependencies * add alias of "#ui" * update alias * add build transpile --------- 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 48bc66b..fcf9210 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -31,6 +31,10 @@ export default defineNuxtConfig({ dirs: [{ path: "~/components/Ui", pathPrefix: false }, "~/components"], }, + build: { + transpile: ["@nuxt/ui", "./config"], + }, + modules: ["@nuxt/ui", "@nuxtjs/google-fonts", "nuxt-lodash", "@vueuse/nuxt"], colorMode: {