Skip to content

Commit

Permalink
add build transpile (#7)
Browse files Browse the repository at this point in the history
* @nuxt/ui move to dependencies

* add alias of "#ui"

* update alias

* add build transpile

---------

Co-authored-by: Max Nutdanai <[email protected]>
  • Loading branch information
MNutdanai and MNutdanai authored Sep 25, 2024
1 parent 566ce18 commit f8a6369
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit f8a6369

Please sign in to comment.