chore: script setup components (#7299)

This commit is contained in:
Kuchenpirat
2026-03-23 21:18:25 +01:00
committed by GitHub
parent 3ad2d9155d
commit 5ab6e98f9e
47 changed files with 1721 additions and 2453 deletions

View File

@@ -16,21 +16,19 @@
</div>
</template>
<script lang="ts">
export default defineNuxtComponent({
props: {
to: {
type: String,
required: true,
},
text: {
type: String,
required: true,
},
icon: {
type: String,
default: "",
},
<script setup lang="ts">
defineProps({
to: {
type: String,
required: true,
},
text: {
type: String,
required: true,
},
icon: {
type: String,
default: "",
},
});
</script>