chore(sfc-playground): remove compiler macro imports (#4134)

Importing `defineEmits` and `defineProps` is no longer needed since v3.1.3
This commit is contained in:
Cédric Exbrayat 2021-07-19 16:08:51 +02:00 committed by GitHub
parent 327c8983fb
commit 1e5e004d7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View 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'])

View 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'