dump recipe/item as json
This commit is contained in:
parent
d6ec1d9ba7
commit
ed9210cc9f
@ -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>
|
||||
`
|
||||
});
|
||||
|
@ -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>
|
||||
`
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user