mirror of
				https://github.com/mealie-recipes/mealie.git
				synced 2025-10-30 17:53:31 -04:00 
			
		
		
		
	| @@ -8,24 +8,17 @@ | ||||
|   </div> | ||||
| </template> | ||||
|  | ||||
| <script lang="ts"> | ||||
| <script setup lang="ts"> | ||||
| import RecipePrintView from "~/components/Domain/Recipe/RecipePrintView.vue"; | ||||
| import type { Recipe } from "~/lib/api/types/recipe"; | ||||
|  | ||||
| export default defineNuxtComponent({ | ||||
|   components: { | ||||
|     RecipePrintView, | ||||
|   }, | ||||
|   props: { | ||||
|     recipe: { | ||||
|       type: Object as () => Recipe, | ||||
|       required: true, | ||||
|     }, | ||||
|     scale: { | ||||
|       type: Number, | ||||
|       default: 1, | ||||
|     }, | ||||
|   }, | ||||
| interface Props { | ||||
|   recipe: Recipe; | ||||
|   scale?: number; | ||||
| } | ||||
|  | ||||
| withDefaults(defineProps<Props>(), { | ||||
|   scale: 1, | ||||
| }); | ||||
| </script> | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user