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 3a7572c commit 38212e7Copy full SHA for 38212e7
packages/compiler-sfc/src/compileScript.ts
@@ -1110,6 +1110,7 @@ export function compileScript(
1110
optionProperties = defaultExport.declaration.properties
1111
} else if (
1112
defaultExport.declaration.type === 'CallExpression' &&
1113
+ defaultExport.declaration.arguments[0] &&
1114
defaultExport.declaration.arguments[0].type === 'ObjectExpression'
1115
) {
1116
optionProperties = defaultExport.declaration.arguments[0].properties
0 commit comments