update project config to match official create vue recommendations

This commit is contained in:
Marco Crapts
2023-05-19 14:16:44 +02:00
parent 0619707054
commit 35b016449a
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,
}))