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:
parent
327c8983fb
commit
1e5e004d7c
@ -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'])
|
||||
|
@ -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'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user