[CLEAR-34] Add missing files

This commit is contained in:
Gabriela Pałka 2020-01-12 21:39:31 +01:00
parent dd32ecd6c0
commit 84092c94dd
2 changed files with 49 additions and 0 deletions

View File

@ -0,0 +1,21 @@
<template>
<ShowRecipe style="width: 60%"/>
</template>
<script>
import ShowRecipe from "../../components/Recipes/ShowRecipe";
export default {
components: {ShowRecipe},
validate({params}) {
return /^\d+$/.test(params.id)
},
name: '_id',
auth: false
};
</script>
<style scoped>
</style>

View File

@ -0,0 +1,28 @@
<template>
<div style="width: 100%">
<Row type="flex" justify="center">
<AddRecipeModal style="margin-bottom: 20px"/>
</Row>
<Row type="flex" justify="center">
<SearchRecipe style="width: 80%"/>
</Row>
</div>
</template>
<script>
import AddRecipeModal from "../../components/Recipes/AddRecipeModal";
import SearchRecipe from "../../components/Recipes/SearchRecipe";
export default {
name: 'recipes',
auth: false,
components: {
AddRecipeModal,
SearchRecipe
}
};
</script>
<style scoped>
</style>