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