فهرست منبع

chore: update playground vapor welcome

Evan You 1 سال پیش
والد
کامیت
f6f3f14a3e
1فایلهای تغییر یافته به همراه1 افزوده شده و 7 حذف شده
  1. 1 7
      packages-private/sfc-playground/src/welcome.vue

+ 1 - 7
packages-private/sfc-playground/src/welcome.vue

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