adding obsidian support
This commit is contained in:
@@ -6,7 +6,7 @@ import axios from "axios";
|
|||||||
const note = ref(null);
|
const note = ref(null);
|
||||||
|
|
||||||
const fetchNote = async () => {
|
const fetchNote = async () => {
|
||||||
const response = await axios.get("/api/notes/Welcome");
|
const response = await axios.get("/api/notes/Index");
|
||||||
note.value = response.data;
|
note.value = response.data;
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -19,7 +19,7 @@ onMounted(fetchNote);
|
|||||||
|
|
||||||
<div
|
<div
|
||||||
v-if="note"
|
v-if="note"
|
||||||
class="a4page-portrait bdr-1 flex-col relative scroll-y gap"
|
class="a4page-portrait bdr-1 flex-col relative scroll-y gap bg-primary"
|
||||||
>
|
>
|
||||||
<h1>{{ note.title }}</h1>
|
<h1>{{ note.title }}</h1>
|
||||||
<small>{{ note.last_edited }}</small>
|
<small>{{ note.last_edited }}</small>
|
||||||
|
|||||||
Reference in New Issue
Block a user