Skip to content

Commit 236a308

Browse files
committed
refactor(formkit-nuxt): remove autoimport of formKit components, because they are already imported by using formkit-nuxt
1 parent d138c7e commit 236a308

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/module.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -66,17 +66,5 @@ export default defineNuxtModule<ModuleOptions>({
6666
chunkName: NPM_PCK_FORMKIT_PRIMEVUE,
6767
}),
6868
)
69-
70-
const NPM_PCK_FORMKIT = '@formkit/vue'
71-
72-
const formKitComponentNames = ['FormKit', 'FormKitProvider', 'FormKitMessages', 'FormKitSummary', 'FormKitSchema']
73-
formKitComponentNames.forEach(name =>
74-
addComponent({
75-
name,
76-
export: name,
77-
filePath: NPM_PCK_FORMKIT,
78-
chunkName: NPM_PCK_FORMKIT,
79-
}),
80-
)
8169
},
8270
})

0 commit comments

Comments
 (0)