+
+ {{ pending ? 'Loading' : count }}
+
+
+
+
+```
+
## `useFetch`
Within your pages, components and plugins you can use `useFetch` to universally fetch from any URL.
@@ -121,6 +139,30 @@ const { data } = await useFetch('/api/count')
This composable behaves identically to `useFetch` with the `lazy: true` option set. In other words, the async function does not block navigation. That means you will need to handle the situation where the data is `null` (or whatever value you have provided in a custom `default` factory function).
+### Example
+
+```vue
+