Browse Source

chore(playground): enable template.vapor option

三咲智子 Kevin Deng 2 years ago
parent
commit
aaf3d00f45
1 changed files with 2 additions and 2 deletions
  1. 2 2
      playground/vite.config.ts

+ 2 - 2
playground/vite.config.ts

@@ -2,7 +2,6 @@ import { defineConfig } from 'vite'
 import Inspect from 'vite-plugin-inspect'
 import { DevPlugin } from './setup/dev'
 import Vue from '@vitejs/plugin-vue'
-import * as CompilerVapor from '@vue/compiler-vapor'
 import * as CompilerSFC from '@vue/compiler-sfc'
 
 export default defineConfig({
@@ -22,7 +21,8 @@ export default defineConfig({
   plugins: [
     Vue({
       template: {
-        compiler: CompilerVapor as any,
+        // @ts-expect-error
+        vapor: true,
       },
       compiler: CompilerSFC,
     }),