We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b5e853 commit 014f3b9Copy full SHA for 014f3b9
playground/App.vue
@@ -3,5 +3,5 @@ import com from './src/index.vue'
3
</script>
4
5
<template>
6
- <com />
+ <com style="height:80px" />
7
</template>
playground/src/index.vue
@@ -1,10 +1,12 @@
1
-<script setup lang="ts" name="Count">
+<script setup lang="ts" inheritAttrs="false" name="Count" >
2
import { ref } from 'vue'
const num = ref(0)
- count: {{ num }} <button @click="num++">
8
- add
9
- </button>
+ <div>
+ count: {{ num }} <button @click="num++">
+ add
10
+ </button>
11
+ </div>
12
0 commit comments