refactor: split up recipe create page (#1283)

* refactor: split up recipe create page

* add flat card

Co-authored-by: Hayden <64056131+hay-kot@users.noreply.github.com>
This commit is contained in:
Philipp Fischbeck
2022-05-25 19:08:32 +02:00
committed by GitHub
parent 30d19c6503
commit 8f7c7c39bb
9 changed files with 606 additions and 503 deletions

View File

@@ -0,0 +1,18 @@
<template>
<div></div>
</template>
<script lang="ts">
import { defineComponent, onMounted, useRouter } from "@nuxtjs/composition-api";
export default defineComponent({
setup() {
const router = useRouter();
onMounted(() => {
// Force redirect to first valid page
router.replace("/recipe/create/url");
});
return {};
},
});
</script>