소스 검색

chore(playground): add vapor flag

三咲智子 Kevin Deng 2 년 전
부모
커밋
83641f709b
1개의 변경된 파일5개의 추가작업 그리고 2개의 파일을 삭제
  1. 5 2
      playground/src/no-script.js

+ 5 - 2
playground/src/no-script.js

@@ -1,5 +1,8 @@
 import { template } from '@vue/runtime-vapor'
 
-export default () => {
-  return template('<div>')()
+const comp = () => {
+  return template('<div><h1>Hello')()
 }
+comp.vapor = true
+
+export default comp