siddharth223437

Results 6 comments of siddharth223437

There is an error on server side, see the terminal output. For the first time useFetch is trying to execute api call inside server.

ok, but useFetch is not getting executed on client side. i am getting null output. Though i can add a timeout as a workaround but its not ideal on every...

@Aareksio you can try removing server:false. You will get the same error log.

If I want to perform some logic on returned response then how can I achieve that if nuxt is not blocking call on client side ?

@Aareksio You are not getting my point, i don't want to just display response. Please see my below code ``` don't display response from api const url = 'https://dog.ceo/api/breeds/image/random'; //const...

@mario-neuhold I ended up creating composable which is a wrapper on $fetch import { useRuntimeConfig } from 'nuxt/app' import {$fetch} from "ohmyfetch"; **composable/useMyFetch.ts** ``` export const useMyFetch = async (req:...