We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd07bb1 commit 9d23978Copy full SHA for 9d23978
src/parser.ts
@@ -114,13 +114,15 @@ export function useComponentMetaParser (
114
}
115
116
117
- Object.keys(meta).forEach((key) => {
118
- if (components[key]) {
119
- components[key].meta = meta[key].meta
120
- } else {
121
- components[key] = meta[key]
122
- }
123
- })
+ if (meta) {
+ Object.keys(meta).forEach((key) => {
+ if (components[key]) {
+ components[key].meta = meta[key].meta
+ } else {
+ components[key] = meta[key]
+ }
124
+ })
125
126
127
128
/**
0 commit comments