Files
mobilizon-frontend/src/components/User/AuthProviders.vue
Thomas Citharel 2e72f6faf4 build: switch from yarn to npm to manage js dependencies and move js contents to root
yarn v1 is being deprecated and starts to have some issues

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-11-14 17:24:42 +01:00

24 lines
537 B
Vue

<template>
<div>
<b>{{ t("Sign in with") }}</b>
<div class="flex gap-1 flex-wrap">
<auth-provider
v-for="provider in oauthProviders"
:oauthProvider="provider"
:key="provider.id"
/>
</div>
</div>
</template>
<script lang="ts" setup>
import { useI18n } from "vue-i18n";
import { IOAuthProvider } from "@/types/config.model";
import AuthProvider from "./AuthProvider.vue";
defineProps<{
oauthProviders: IOAuthProvider[];
}>();
const { t } = useI18n({ useScope: "global" });
</script>