ClearBowl/front/pages/recipes/_id.vue
2020-01-12 21:39:31 +01:00

22 lines
360 B
Vue

<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>