feat(pages): create default new story page
This commit is contained in:
		
							parent
							
								
									dbc5cab712
								
							
						
					
					
						commit
						8bda275244
					
				
							
								
								
									
										11
									
								
								pages/new-story.vue
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								pages/new-story.vue
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,11 @@ | ||||
| <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> | ||||
| 	<story-form :can-draft="true" :data="defaultStory" endpoint="/story/new" /> | ||||
| </template> | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user