dump recipe/item as json

This commit is contained in:
BuckarooBanzay 2021-03-02 21:18:06 +01:00
parent d6ec1d9ba7
commit ed9210cc9f
2 changed files with 6 additions and 1 deletions

View File

@ -24,6 +24,12 @@ Vue.component("item-info", {
<recipe-info :recipe="recipe"/>
</div>
</div>
<div class="row">
<pre class="col-md-12">
{{ JSON.stringify(item, null, '\t') }}
{{ JSON.stringify(recipes, null, '\t') }}
</pre>
</div>
</div>
`
});

View File

@ -5,7 +5,6 @@ Vue.component("recipe-info", {
template: /*html*/`
<div>
<recipe-info-normal v-if="recipe.type == 'normal'" :recipe="recipe"/>
{{ JSON.stringify(recipe) }}
</div>
`
});