This commit is contained in:
Jonathan Chevalier
2022-10-26 17:39:47 +02:00
parent e0f64b3d22
commit 4215574f00
4 changed files with 17 additions and 9 deletions

View File

@@ -6,8 +6,16 @@ import Wizard from "./components/Wizard.vue";
</script>
<template>
<wizard v-if="$route.path !== '/'"></wizard>
<router-view></router-view>
<div>
<wizard v-if="$route.path !== '/'"></wizard>
<router-view v-slot="{ Component, route }">
<transition name="slide-left">
<div :key="route.path">
<component :is="Component"/>
</div>
</transition>
</router-view>
</div>
</template>
<style scoped>