Migrate to Vue 3 and Vite

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2022-07-12 10:55:28 +02:00
parent 8f4099ee33
commit ee20e03cc2
464 changed files with 31515 additions and 32758 deletions

View File

@@ -0,0 +1,19 @@
<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>