update project config to match official create vue recommendations

This commit is contained in:
2023-05-19 14:16:44 +02:00
parent e491f52e26
commit 83c58d5aca
15 changed files with 4539 additions and 205 deletions

View File

@@ -8,7 +8,7 @@ const baseNotes = reactive<{ [noteId: string]: BaseNote }>({})
export const notes = computed<Note[]>(() => {
return Object.entries(baseNotes)
.map(([_, note]) => ({
.map(([, note]) => ({
...note,
wordCount: note.content.split(' ').filter((word) => word.length > 0).length,
}))