Files
mealie/frontend/components/global/DocLink.vue
2026-03-23 20:18:25 +00:00

31 lines
509 B
Vue

<template>
<v-btn
size="x-small"
:href="href"
color="primary"
target="_blank"
>
<v-icon
start
size="small"
>
{{ $globals.icons.folderOutline }}
</v-icon>
{{ $t("about.docs") }}
</v-btn>
</template>
<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>