diff --git a/docs/_theme/nuxt.config.ts b/docs/_theme/nuxt.config.ts index b4e14b907..6565025ac 100644 --- a/docs/_theme/nuxt.config.ts +++ b/docs/_theme/nuxt.config.ts @@ -16,7 +16,7 @@ export default defineNuxtConfig({ ["UButton"].includes(c.pascalName), ); - globals.forEach((c) => (c.global = true)); + for (const c of globals) { (c.global = true); } }, }, ui: {