update project config to match official create vue recommendations
This commit is contained in:
@@ -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,
|
||||
}))
|
||||
|
||||
Reference in New Issue
Block a user