]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore(sfc-playground): remove compiler macro imports (#4134)
authorCédric Exbrayat <cexbrayat@users.noreply.github.com>
Mon, 19 Jul 2021 14:08:51 +0000 (16:08 +0200)
committerGitHub <noreply@github.com>
Mon, 19 Jul 2021 14:08:51 +0000 (10:08 -0400)
Importing `defineEmits` and `defineProps` is no longer needed since v3.1.3

packages/sfc-playground/src/Message.vue
packages/sfc-playground/src/codemirror/CodeMirror.vue

index 828f6b2cd32c87b4a8b560e265d67f06d1285143..01d7fe34ec5bc1aa6b7e178e71d52f8356d7f30f 100644 (file)
@@ -8,7 +8,7 @@
 </template>
 
 <script setup lang="ts">
-import { defineProps, ref, watch } from 'vue'
+import { ref, watch } from 'vue'
 import type { CompilerError } from '@vue/compiler-sfc'
 
 const props = defineProps(['err', 'warn'])
index d9823c305ee34834080d19969b0fe1496d00d9b0..f6fd769134d4511b6f10957a4f0e39c14fb904c6 100644 (file)
@@ -3,7 +3,7 @@
 </template>
 
 <script setup lang="ts">
-import { ref, onMounted, defineProps, defineEmits, watchEffect } from 'vue'
+import { ref, onMounted, watchEffect } from 'vue'
 import { debounce } from '../utils'
 import CodeMirror from './codemirror'