We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a3627c commit 5b3b2a8Copy full SHA for 5b3b2a8
playground/app/pages/database.vue
@@ -4,7 +4,9 @@ const newTodo = ref('')
4
const newTodoInput = ref(null)
5
6
const toast = useToast()
7
-const { data: todos } = await useFetch('/api/todos')
+const { data: todos } = await useFetch('/api/todos', {
8
+ deep: true
9
+})
10
11
async function addTodo() {
12
if (!newTodo.value.trim()) return
0 commit comments