-
{{ props.note.text }}
-
+
+
+
+
+
+
+
+
+
+
+
+
+
{{ note.text }}
+
note not found
+
+
+
diff --git a/gdn-app/src/stores/notes.ts b/gdn-app/src/stores/notes.ts
new file mode 100644
index 0000000..d2c7dbf
--- /dev/null
+++ b/gdn-app/src/stores/notes.ts
@@ -0,0 +1,37 @@
+import { defineStore } from "pinia";
+import { ref } from "vue";
+
+type Note = {
+ id: string;
+ text: string;
+ children: string[];
+};
+
+export const useNotesStore = defineStore("notes", () => {
+ const notes = ref