Skip to content
This repository was archived by the owner on Sep 24, 2025. It is now read-only.

Commit cd21104

Browse files
authored
fix(component-meta): do not ignore prose components from component meta (#155)
1 parent b205ce2 commit cd21104

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/runtime/server/routes/studio.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ interface NuxtComponentMeta {
1414
}
1515

1616
export default eventHandler(async () => {
17-
const componentsIgnoredPrefix = ['Content', 'DocumentDriven', 'Markdown', 'Prose']
17+
const componentsIgnoredPrefix = ['Content', 'DocumentDriven', 'Markdown']
1818
const filteredComponents = (Object.values(components) as NuxtComponentMeta[])
1919
.filter(c => c.global && !componentsIgnoredPrefix.some(prefix => c.pascalName.startsWith(prefix)))
2020
.map(({ pascalName, filePath, meta }) => {

0 commit comments

Comments
 (0)