From 57196cc3f81bf17f066b96f49aa524f2e2abae74 Mon Sep 17 00:00:00 2001 From: Brads3290 Date: Tue, 6 Aug 2024 10:19:56 +1000 Subject: [PATCH] Fix inverted auto-import logic --- packages/nuxt-module/src/register.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nuxt-module/src/register.ts b/packages/nuxt-module/src/register.ts index 2f5e512e9..fdfc648fa 100644 --- a/packages/nuxt-module/src/register.ts +++ b/packages/nuxt-module/src/register.ts @@ -45,7 +45,7 @@ function registerComponents(resolvePath: any, moduleOptions: ModuleOptions) { global: true }; - !moduleOptions.autoImport && addComponent(opt); + moduleOptions.autoImport && addComponent(opt); return { ..._item,