working on a recipe view
This commit is contained in:
20
vue/src/components/Ingredient.vue
Normal file
20
vue/src/components/Ingredient.vue
Normal file
@ -0,0 +1,20 @@
|
||||
<template>
|
||||
<div>
|
||||
<input type="checkbox">
|
||||
{{ingredient.amount}}
|
||||
{{ingredient.unit}}
|
||||
{{ingredient.food}}
|
||||
{{ingredient.note}}
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
||||
export default {
|
||||
name: 'Ingredient',
|
||||
props: {
|
||||
ingredient: Object,
|
||||
servings: Number
|
||||
}
|
||||
}
|
||||
</script>
|
Reference in New Issue
Block a user