Skip to content

Commit 1e5e004

Browse files
authored
chore(sfc-playground): remove compiler macro imports (vuejs#4134)
Importing `defineEmits` and `defineProps` is no longer needed since v3.1.3
1 parent 327c898 commit 1e5e004

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/sfc-playground/src/Message.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</template>
99

1010
<script setup lang="ts">
11-
import { defineProps, ref, watch } from 'vue'
11+
import { ref, watch } from 'vue'
1212
import type { CompilerError } from '@vue/compiler-sfc'
1313
1414
const props = defineProps(['err', 'warn'])

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
</template>
44

55
<script setup lang="ts">
6-
import { ref, onMounted, defineProps, defineEmits, watchEffect } from 'vue'
6+
import { ref, onMounted, watchEffect } from 'vue'
77
import { debounce } from '../utils'
88
import CodeMirror from './codemirror'
99

0 commit comments

Comments
 (0)