sfxcode / formkit-primevue

PrimeVue (v4, v3) support for the FormKit validation Framwork
https://sfxcode.github.io/formkit-primevue
85 stars 10 forks source link

Auto imprt with "unplugin-auto-import"? #32

Closed csakis closed 5 months ago

csakis commented 6 months ago

This is a feature request. I love using the auto-import plugin in my new project. However, with the formkit-primevue plugin, if I want to use a checkbox, I have to import it manually in my main.ts. Is there an already existing solution for this?

sfxcode commented 5 months ago

Hi,

this package has no focus on importing of components. Used Components in Formkit should be available in your application. In the demo PrimeVue inputs are imported as module.

Examples of auto-import can also be found in the primevue-nuxt module:

https://github.com/primefaces/primevue-nuxt-module

Hope that helps,

Tom