mealie/frontend/components/global/RecipeJsonEditor.vue
Hayden 095d3bda3f
feat(frontend): Rewrite context menu in TS and add 'add to mealplan' context menu action (#786)
* make entry for NLP model `setup-model`

* add comments

* feat(frontend):  Rewrite context menu in TS and add 'add to mealplan' options

* add note to changelog

Co-authored-by: Hayden K <hay-kot@pm.me>
2021-11-05 21:29:15 -08:00

29 lines
439 B
Vue

<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>