1
0
Fork 0
mirror of https://github.com/mealie-recipes/mealie.git synced 2025-07-23 15:19:41 +02:00
mealie/frontend/components/global/RecipeJsonEditor.vue

29 lines
439 B
Vue
Raw Normal View History

<template>
<VJsoneditor
:value="value"
height="1500px"
:options="options"
:attrs="$attrs"
@input="$emit('input', $event)"
></VJsoneditor>
</template>
<script>
import VJsoneditor from "v-jsoneditor";
export default {
components: { VJsoneditor },
props: {
value: {
type: Object,
default: () => ({}),
},
options: {
type: Object,
default: () => ({}),
},
},
};
</script>