Closed Barbapapazes closed 1 year ago
Can you provide the code you're using and in what context exactly?
In Nuxt server code the usage should be the same, but in Nitro code you need to pass the H3Event in as the first argument.
const siteConfig = useSiteConfig(event)
Will check, thx
Can you provide the code you're using and in what context exactly?
In Nuxt server code the usage should be the same, but in Nitro code you need to pass the H3Event in as the first argument.
const siteConfig = useSiteConfig(event)
Ho nice, it works so well!
Describe the bug
Hello,
I'm trying to use the composable
useSiteConfig
inside a server route and I got this error.Reproduction
No response
System / Nuxt Info