From ed9210cc9fed28c452a3b7d28d891e1b787ee2d0 Mon Sep 17 00:00:00 2001 From: BuckarooBanzay Date: Tue, 2 Mar 2021 21:18:06 +0100 Subject: [PATCH] dump recipe/item as json --- app/js/components/item-info.js | 6 ++++++ app/js/components/recipe-info.js | 1 - 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/app/js/components/item-info.js b/app/js/components/item-info.js index faf6948..22e2cdd 100644 --- a/app/js/components/item-info.js +++ b/app/js/components/item-info.js @@ -24,6 +24,12 @@ Vue.component("item-info", { +
+
+{{ JSON.stringify(item, null, '\t') }}
+{{ JSON.stringify(recipes, null, '\t') }}
+				
+
` }); diff --git a/app/js/components/recipe-info.js b/app/js/components/recipe-info.js index a0fee76..dec088a 100644 --- a/app/js/components/recipe-info.js +++ b/app/js/components/recipe-info.js @@ -5,7 +5,6 @@ Vue.component("recipe-info", { template: /*html*/`
- {{ JSON.stringify(recipe) }}
` });