|
|
|
@ -25,13 +25,17 @@ export default {
|
|
|
|
|
template: `
|
|
|
|
|
<div class="cookbook">
|
|
|
|
|
<section class="recipe" v-for="(recipe, index) in recipes" :style="style(index)" @click="browse()" :key="recipe">
|
|
|
|
|
<h3>{{recipe.title}}</h3>
|
|
|
|
|
<p>{{recipe.description}}</p>
|
|
|
|
|
<div>{{recipe.nature}}</div>
|
|
|
|
|
<ol>
|
|
|
|
|
<li v-for="log in recipe.logs">{{log}}</li>
|
|
|
|
|
</ol>
|
|
|
|
|
<p>{{recipe.who}}</p>
|
|
|
|
|
<h3 class="title">{{recipe.title}}</h3>
|
|
|
|
|
<div class="description">{{recipe.description}}</div>
|
|
|
|
|
<div class="label">It works with <span class="nature">{{recipe.nature}}</span></div>
|
|
|
|
|
|
|
|
|
|
<div class="label">
|
|
|
|
|
Steps:
|
|
|
|
|
</div>
|
|
|
|
|
<ol>
|
|
|
|
|
<li v-for="log in recipe.logs">{{log}}</li>
|
|
|
|
|
</ol>
|
|
|
|
|
<p class="from">from {{recipe.who}}</p>
|
|
|
|
|
</section>
|
|
|
|
|
</div>
|
|
|
|
|
`,
|
|
|
|
|