Remove warnings about 'defineProps', 'defineEmits' being compiler macros
This commit is contained in:
@@ -86,11 +86,10 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, defineProps } from 'vue';
|
||||
import MyUserModel from "@/models/myUserModel.js";
|
||||
|
||||
const props = defineProps({
|
||||
user: { type: MyUserModel },
|
||||
user: {type: MyUserModel},
|
||||
});
|
||||
|
||||
const dateRule = value => {
|
||||
|
||||
@@ -82,7 +82,6 @@
|
||||
|
||||
<script setup>
|
||||
import CreatePostButton from "@/views/contents/CreatePostButton.vue";
|
||||
import {defineProps} from "vue";
|
||||
import SizeIndicator from "@/views/tools/SizeIndicator.vue";
|
||||
import AboutYou from "@/views/creators/CreatorDescriptionBtn.vue";
|
||||
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { defineProps } from 'vue';
|
||||
|
||||
defineProps({
|
||||
creator: {
|
||||
|
||||
Reference in New Issue
Block a user