This repository has been archived by the owner on Mar 12, 2024. It is now read-only.
聽聽聽鈩癸笍 Migration
-import { configure } from 'turbo-query'
+import { configure } from 'vue-unquery'
configure({
async fetcher(key, { signal }) {
const response = await fetch(key, { signal })
if (!response.ok)
throw new Error('Fetch request failed')
return await response.json()
},
})