Skip to content

Commit

Permalink
chore: cleanup config
Browse files Browse the repository at this point in the history
  • Loading branch information
itsacoyote committed Apr 9, 2024
1 parent 64f7eb5 commit 9655827
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default defineNuxtConfig({
hooks: {
// Define `@nuxt/ui` components as global to use them in `.md` (feel free to add those you need)
'components:extend': (components) => {
const globals = components.filter((c) => ['UButton', 'UIcon', 'UKbd'].includes(c.pascalName));
const globals = components.filter((c) => ['UButton', 'UIcon'].includes(c.pascalName));

globals.forEach((c) => (c.global = true));
},
Expand Down

0 comments on commit 9655827

Please sign in to comment.