Explorar o código

chore(playground): add vapor flag

三咲智子 Kevin Deng %!s(int64=2) %!d(string=hai) anos
pai
achega
83641f709b
Modificáronse 1 ficheiros con 5 adicións e 2 borrados
  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