some more things in recipe view

This commit is contained in:
vabene1111
2024-02-24 11:14:58 +01:00
committed by smilerz
parent 3f880ef304
commit 644be2d59b
8 changed files with 144 additions and 65 deletions

View File

@@ -15,8 +15,10 @@ const routes = [
{path: '/', redirect: '/search', name: 'index'},
{path: '/search', component: RecipeSearchPage, name: 'view_search'},
{path: '/shopping', component: ShoppingListPage, name: 'view_shopping'},
{path: '/mealplan', component: ShoppingListPage, name: 'view_mealplan'},
{path: '/books', component: ShoppingListPage, name: 'view_books'},
{path: '/recipe/:id', component: RecipeViewPage, name: 'view_recipe', props: true},
{path: '/recipe/edit/:id', component: RecipeViewPage, name: 'view_recipe', props: true},
{path: '/recipe/edit/:id', component: RecipeViewPage, name: 'edit_recipe', props: true},
]
const router = createRouter({