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 be7eabd commit 8498fcbCopy full SHA for 8498fcb
packages/compiler-sfc/src/compileTemplate.ts
@@ -219,6 +219,7 @@ function doCompileTemplate({
219
// We need to parse a fresh one. Can't just use `source` here since we need
220
// the AST location info to be relative to the entire SFC.
221
const newAST = (ssr ? CompilerDOM : compiler).parse(inAST.source, {
222
+ ...compilerOptions,
223
parseMode: 'sfc',
224
onError: e => errors.push(e),
225
})
0 commit comments