Remove warnings about 'defineProps', 'defineEmits' being compiler macros
This commit is contained in:
@@ -4,10 +4,10 @@
|
||||
:onLoad="load">
|
||||
|
||||
<template v-for="content in contents">
|
||||
<ContentCard :content="content"
|
||||
class="w-full p-2 my-2"
|
||||
>
|
||||
</ContentCard>
|
||||
<ContentCard :content="content"
|
||||
class="w-full p-2 my-2"
|
||||
>
|
||||
</ContentCard>
|
||||
</template>
|
||||
|
||||
<template v-slot:empty>
|
||||
@@ -27,7 +27,7 @@
|
||||
<script setup>
|
||||
|
||||
import {useClient} from '@/plugins/api.js';
|
||||
import {defineProps, ref} from 'vue';
|
||||
import {ref} from 'vue';
|
||||
import ContentCard from "./ContentCard.vue";
|
||||
|
||||
const props = defineProps({
|
||||
|
||||
Reference in New Issue
Block a user