]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: update playground vapor welcome
authorEvan You <evan@vuejs.org>
Fri, 6 Dec 2024 13:07:42 +0000 (21:07 +0800)
committerEvan You <evan@vuejs.org>
Fri, 6 Dec 2024 13:07:42 +0000 (21:07 +0800)
packages-private/sfc-playground/src/welcome.vue

index 377e17e9d4019666e3135ee39cc02e3ae5af99b4..a466ef884d7ee90002d1b5d5674da24bcc29c6ca 100644 (file)
@@ -1,15 +1,9 @@
 <script setup lang="ts">
-import { ref, getCurrentInstance } from 'vue'
+import { ref } from 'vue'
 
 const msg = ref('Hello World!')
-// @ts-expect-error
-const isVapor = getCurrentInstance().vapor
 </script>
 
 <template>
   <h1>{{ msg }}</h1>
-  <p>
-    VAPOR <b>{{ isVapor ? 'ON' : 'OFF' }}</b>
-  </p>
-  <input v-model="msg" />
 </template>