mirror of
				https://github.com/mealie-recipes/mealie.git
				synced 2025-11-03 18:53:17 -05:00 
			
		
		
		
	Co-authored-by: Michael Genson <71845777+michael-genson@users.noreply.github.com> Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
		
			
				
	
	
		
			24 lines
		
	
	
		
			332 B
		
	
	
	
		
			Vue
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			332 B
		
	
	
	
		
			Vue
		
	
	
	
	
	
<template>
 | 
						|
  <pre>
 | 
						|
      {{ prettyJson }}
 | 
						|
  </pre>
 | 
						|
</template>
 | 
						|
 | 
						|
<script lang="ts">
 | 
						|
export default defineNuxtComponent({
 | 
						|
  props: {
 | 
						|
    data: {
 | 
						|
      type: Object,
 | 
						|
      required: true,
 | 
						|
    },
 | 
						|
  },
 | 
						|
  setup(props) {
 | 
						|
    const prettyJson = JSON.stringify(props.data, null, 2);
 | 
						|
 | 
						|
    return {
 | 
						|
      prettyJson,
 | 
						|
    };
 | 
						|
  },
 | 
						|
});
 | 
						|
</script>
 |