Skip to content

Instantly share code, notes, and snippets.

@adamdehaven
Created January 7, 2026 17:23
Show Gist options
  • Select an option

  • Save adamdehaven/bf52012317e8486505498d403cd28655 to your computer and use it in GitHub Desktop.

Select an option

Save adamdehaven/bf52012317e8486505498d403cd28655 to your computer and use it in GitHub Desktop.
Nuxt config componentMeta
{
componentMeta: {
globalsOnly: true,
componentDirs: [
join(currentDir, './app/components/global'),
],
exclude: [
'@nuxtjs/mdc',
'@kong/kongponents',
'nuxt/dist',
'nuxt-og-image',
'nuxt-site-config',
'.spec.ts', // Exclude test files
'.c12',
// Exclude the following components (internal components)
'LinkGroupItem.vue',
'LinkGroupItem.vue',
'PageTocItem.vue',
'PortalKCheckbox',
'ProseCode.vue',
'ProsePre.vue',
'ProseTable.vue',
'TruncateContent.vue',
],
metaFields: {
type: true,
props: true,
slots: true,
events: true,
exposed: false,
},
},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment