Use <template #slotName> form instead of v-slot

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2022-08-12 16:42:40 +02:00
parent 9d00aff619
commit e893f3f089
15 changed files with 28 additions and 29 deletions

View File

@@ -35,10 +35,10 @@
tag="span"
keypath="{instanceName} is an instance of {mobilizon_link}, a free software built with the community."
>
<template v-slot:instanceName>
<template #instanceName>
<b>{{ config?.name }}</b>
</template>
<template v-slot:mobilizon_link>
<template #mobilizon_link>
<a href="https://joinmobilizon.org">{{ t("Mobilizon") }}</a>
</template>
</i18n-t>