Skip to content

Commit

Permalink
add alias of "#ui" (#5)
Browse files Browse the repository at this point in the history
* @nuxt/ui move to dependencies

* add alias of "#ui"

---------

Co-authored-by: Max Nutdanai <[email protected]>
  • Loading branch information
MNutdanai and MNutdanai authored Sep 25, 2024
1 parent 9b38a3f commit 6e07ed8
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 @@ -23,6 +23,10 @@ export default defineNuxtConfig({
],
},

alias: {
"#ui": "@nuxt/ui/dist/runtime",
},

components: {
dirs: [{ path: "~/components/Ui", pathPrefix: false }, "~/components"],
},
Expand Down

0 comments on commit 6e07ed8

Please sign in to comment.