mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-02 20:59:28 -05:00
keywords
This commit is contained in:
17
vue/src/components/Keywords.vue
Normal file
17
vue/src/components/Keywords.vue
Normal file
@@ -0,0 +1,17 @@
|
||||
<template>
|
||||
<div v-if="recipe.keywords.length > 0">
|
||||
<small :key="k.id" v-for="k in recipe.keywords" style="padding: 2px">
|
||||
{{k.icon}} {{k.name}}
|
||||
</small>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
||||
export default {
|
||||
name: 'Keywords',
|
||||
props: {
|
||||
recipe: Object,
|
||||
},
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user