2023-10-10 22:15:50 -04:00
|
|
|
<script setup lang="ts">
|
2023-12-30 17:04:18 -05:00
|
|
|
import storyForm from "~/components/story/create/storyForm.vue";
|
2023-12-20 17:23:31 -05:00
|
|
|
import { defaultStory } from "@client/types/form/story";
|
2024-01-04 15:19:08 -05:00
|
|
|
const ds = ref(defaultStory);
|
2023-10-10 22:15:50 -04:00
|
|
|
definePageMeta({
|
|
|
|
middleware: ["auth"],
|
|
|
|
});
|
2023-12-09 17:22:08 -05:00
|
|
|
useHead({
|
|
|
|
title: "Post a new Story",
|
|
|
|
});
|
2023-10-10 22:15:50 -04:00
|
|
|
</script>
|
|
|
|
<template>
|
|
|
|
<a-typography-title> Post a new Story </a-typography-title>
|
2024-01-04 15:19:08 -05:00
|
|
|
<story-form endpoint-method="post" :can-draft="true" v-model:data="ds" endpoint="/story/new" />
|
2023-10-10 22:15:50 -04:00
|
|
|
</template>
|