adding obsidian support

This commit is contained in:
2026-01-12 16:26:40 +00:00
parent da3870250b
commit d4671ecd96

View File

@@ -1,13 +1,20 @@
<script setup> <script setup>
import RouterTable from "@/components/quick/RouterTable.vue"; import Markdown from "@/components/quick/Markdown.vue";
const res = await axios.post("/api/notes/Welcome"); import { ref, onMounted } from "vue";
import axios from "axios";
const note = ref(await axios.post("/api/notes/Welcome"));
function fetchNote() {}
</script> </script>
<template> <template>
<main class="center-content flex-col"> <main class="center-content flex-col">
<div class="background halftone" /> <div class="background halftone" />
<div class="a4page-portrait bdr-1 flex-col relative scroll-y gap"> <div class="a4page-portrait bdr-1 flex-col relative scroll-y gap">
<RouterTable :linkArr="note_links" /> <h1>{{ note.title }}</h1>
<small>{{ note.last_edited }}</small>
<Markdown class="fill wrap" :source="note.contents" />
</div> </div>
</main> </main>
</template> </template>