mirror of
https://github.com/mealie-recipes/mealie.git
synced 2026-04-11 15:35:36 -04:00
chore: Nuxt 4 upgrade (#7426)
This commit is contained in:
16
frontend/app/components/global/DevDumpJson.vue
Normal file
16
frontend/app/components/global/DevDumpJson.vue
Normal file
@@ -0,0 +1,16 @@
|
||||
<template>
|
||||
<pre>
|
||||
{{ prettyJson }}
|
||||
</pre>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
const props = defineProps({
|
||||
data: {
|
||||
type: Object,
|
||||
required: true,
|
||||
},
|
||||
});
|
||||
|
||||
const prettyJson = JSON.stringify(props.data, null, 2);
|
||||
</script>
|
||||
Reference in New Issue
Block a user