Files
maaw/pages/notes/[note_id].vue
Michael Dausmann a7f8c37f99 prettier fixes #16
2023-10-24 21:18:03 +11:00

14 lines
398 B
Vue

<script setup lang="ts">
const route = useRoute();
const { $client } = useNuxtApp();
const { data: note } = await $client.notes.getById.useQuery({
note_id: +route.params.note_id
});
</script>
<template>
<div class="prose lg:prose-xl m-5">
<h3>Note Detail {{ route.params.note_id }}</h3>
<div class="prose lg:prose-xl m-5">{{ note?.note.note_text }}</div>
</div>
</template>