Replace Vite and Vue Router with Nuxt framework Update Docker, build scripts, and env vars for Nuxt generate
21 lines
536 B
Vue
21 lines
536 B
Vue
<script setup lang="ts">
|
|
import type { RouteLocationNormalizedLoaded } from 'vue-router';
|
|
import RecipeDetail from '../../../src/views/RecipeDetail.vue';
|
|
|
|
definePageMeta({
|
|
name: 'recipe-edit',
|
|
requiredPermission: 'recipes.update',
|
|
editorModal: true,
|
|
seo: {
|
|
titleKey: 'pages.recipes.editKicker',
|
|
descriptionKey: 'pages.recipes.editSubtitle',
|
|
canonicalPath: (route: RouteLocationNormalizedLoaded) => `/recipes/${String(route.params.id)}`,
|
|
noindex: true
|
|
}
|
|
});
|
|
</script>
|
|
|
|
<template>
|
|
<RecipeDetail />
|
|
</template>
|