Explorar o código

chore(template-explorer): Fix template-explorer highlighting (#8956)

白雾三语 %!s(int64=2) %!d(string=hai) anos
pai
achega
59762335ac
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/template-explorer/src/index.ts

+ 1 - 1
packages/template-explorer/src/index.ts

@@ -76,8 +76,8 @@ window.init = () => {
       const compileFn = ssrMode.value ? ssrCompile : compile
       const start = performance.now()
       const { code, ast, map } = compileFn(source, {
-        filename: 'ExampleTemplate.vue',
         ...compilerOptions,
+        filename: 'ExampleTemplate.vue',
         sourceMap: true,
         onError: err => {
           errors.push(err)