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

@@ -15,21 +15,16 @@
</v-btn>
</template>
<script lang="ts">
export default defineNuxtComponent({
props: {
link: {
type: String,
required: true,
},
},
setup(props) {
const href = computed(() => {
// TODO: dynamically set docs link based off env
return `https://nightly.mealie.io${props.link}`;
});
return { href };
<script setup lang="ts">
const props = defineProps({
link: {
type: String,
required: true,
},
});
const href = computed(() => {
// TODO: dynamically set docs link based off env
return `https://docs.mealie.io${props.link}`;
});
</script>