Files
mobilizon-frontend/js/src/components/Home/UnloggedIntroduction.story.vue
Thomas Citharel ee20e03cc2 Migrate to Vue 3 and Vite
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-08-11 16:46:31 +02:00

20 lines
507 B
Vue

<template>
<Story :setup-app="setupApp">
<Variant :title="'Open'">
<UnloggedIntroduction />
</Variant>
<Variant :title="'Closed'">
<UnloggedIntroduction />
</Variant>
</Story>
</template>
<script lang="ts" setup>
import { apolloClient } from "@/vue-apollo";
import { DefaultApolloClient } from "@vue/apollo-composable";
import UnloggedIntroduction from "./UnloggedIntroduction.vue";
function setupApp({ app }) {
app.provide(DefaultApolloClient, apolloClient);
}
</script>