We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent adcfb3d commit 0f8b4e4Copy full SHA for 0f8b4e4
src/vue-tweet.vue
@@ -1,7 +1,7 @@
1
<template>
2
- <slot v-if="hasError" name="error"></slot>
3
- <slot v-else-if="isLoading" name="loading"></slot>
4
- <div ref="tweetContainerRef" v-bind="$attrs"></div>
+ <slot v-if="hasError" name="error" />
+ <slot v-else-if="isLoading" name="loading" />
+ <div ref="tweetContainerRef" v-bind="$attrs" />
5
</template>
6
7
<script lang="ts" setup>
0 commit comments