ClearBowl/front/pages/recipes/_id.vue

22 lines
360 B
Vue
Raw Permalink Normal View History

2020-01-12 21:39:31 +01:00
<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>