some more things in recipe view

This commit is contained in:
vabene1111
2024-02-24 11:14:58 +01:00
parent d53706bd5d
commit 1842bb7105
8 changed files with 144 additions and 65 deletions

View File

@@ -13,8 +13,8 @@
<script lang="ts">
import {defineComponent} from 'vue'
import {ApiApi, Recipe} from "@/openapi";
import KeywordsComponent from "@/components/display/KeywordsComponent.vue";
import RecipeCardComponent from "@/components/display/RecipeCardComponent.vue";
import KeywordsComponent from "@/components/display/KeywordsBar.vue";
import RecipeCardComponent from "@/components/display/RecipeCard.vue";
export default defineComponent({
name: "RecipeSearchPage",

View File

@@ -1,17 +1,17 @@
<template>
<RecipeViewComponent :recipe="recipe"></RecipeViewComponent>
<RecipeView :recipe="recipe"></RecipeView>
</template>
<script lang="ts">
import {defineComponent} from 'vue'
import {ApiApi, Recipe} from "@/openapi";
import RecipeViewComponent from "@/components/display/RecipeViewComponent.vue";
import RecipeView from "@/components/display/RecipeView.vue";
export default defineComponent({
name: "RecipeSearchPage",
components: {RecipeViewComponent},
components: {RecipeView},
props: {
id: Number
id: {type: String, required: true}
},
data() {
return {