We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
yyx990803
Learn more about funding links in repositories.
Report abuse
1 parent 23f9486 commit 48bf8e4Copy full SHA for 48bf8e4
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
+ prefixIdentifiers: true,
223
...compilerOptions,
224
parseMode: 'sfc',
225
onError: e => errors.push(e),
0 commit comments