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 48a1370 commit 2074d66Copy full SHA for 2074d66
packages/compiler-sfc/src/compileScript.ts
@@ -984,7 +984,7 @@ export function compileScript(
984
ctx.s.prependLeft(
985
startOffset,
986
`\n${genDefaultAs} /*@__PURE__*/${ctx.helper(
987
- vapor ? `defineVaporComponent` : `defineComponent`,
+ vapor && !ssr ? `defineVaporComponent` : `defineComponent`,
988
)}({${def}${runtimeOptions}\n ${
989
hasAwait ? `async ` : ``
990
}setup(${args}) {\n${exposeCall}`,
0 commit comments