2023-10-10 22:15:50 -04:00
|
|
|
<script setup lang="ts">
|
|
|
|
import storyForm from "~/components/story/create/storyform.vue";
|
|
|
|
import { defaultStory } from "~/lib/client/types/form/story";
|
|
|
|
definePageMeta({
|
|
|
|
middleware: ["auth"],
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
<template>
|
|
|
|
<a-typography-title> Post a new Story </a-typography-title>
|
2023-10-11 16:42:22 -04:00
|
|
|
<story-form
|
|
|
|
endpoint-method="post"
|
|
|
|
:can-draft="true"
|
|
|
|
:data="defaultStory"
|
|
|
|
endpoint="/story/new"
|
|
|
|
/>
|
2023-10-10 22:15:50 -04:00
|
|
|
</template>
|