Skip to content

Commit e9658de

Browse files
committed
fix(inherit): cache component meta
1 parent b0073f1 commit e9658de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/schema/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ export function replaceComponentSchemas<T = Draft07Definition | Draft07Definitio
126126
// Ignore error
127127
}
128128

129-
const meta = getComponentMeta(path, { rootDir: nuxt.options.rootDir })
129+
const meta = getComponentMeta(path, { rootDir: nuxt.options.rootDir, cache: true })
130130
return propsToJsonSchema(meta.props) as T
131131
}
132132

0 commit comments

Comments
 (0)