You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I want to register global components from Chakra so I can use them in markdown files w/ @nuxt/content. For this to work, they have to be globally registered. Right now, I have to manually import and then register all of the components I want to use in my markdown files.
Describe the solution you'd like
I want to globally register Chakra components without listing them all out. Tree-shaking is not a requirement, but would be nice.
If Chakra either:
had an option for globally registering components automatically or...
exported all of the components in some way (import all from '@chakra-ui/vue')
That would solve my problem.
The text was updated successfully, but these errors were encountered:
Hey @JessicaSachs ! Thanks for the suggestion with this! Theoretically I think it's possible. 🤔.
For this, I may need to examine how vue-loader is transforming the SFCs for globally registered components to implement something like this. I'll also look into @nuxt/components component library API to see what it can offer as well.
Is your feature request related to a problem? Please describe.
I want to register global components from Chakra so I can use them in markdown files w/ @nuxt/content. For this to work, they have to be globally registered. Right now, I have to manually import and then register all of the components I want to use in my markdown files.
Describe the solution you'd like
I want to globally register Chakra components without listing them all out. Tree-shaking is not a requirement, but would be nice.
If Chakra either:
import all from '@chakra-ui/vue'
)That would solve my problem.
The text was updated successfully, but these errors were encountered: