-
-
Notifications
You must be signed in to change notification settings - Fork 636
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nuxt Content & Nuxt Components #150
Comments
Also related to #47 |
Hey @toddmorey, A PR is currently ongoing to handle global components with |
@benjamincanac Is there a code-splitting, perf, or other reason not to simply put all components under |
@Spunkie In a general way I wouldn't put any component that uses subjacent libraries in global (gmaps.js, highlight.js, ...) but lazy load them instead. Global components are meant to be components that are often used in your website, remember that global components are added to the global vendor bundle. You can use |
Is there a way to have Nuxt Components auto import components that are referenced in the content files that Nuxt Content processes? If not, what's a good strategy for dynamically importing the components that may or may not be referenced in content files (.md files, etc)?
The text was updated successfully, but these errors were encountered: