Open AJMcKane opened 1 year ago
I would also like to see how to connect the sanity.json
file so I can execute my queries right away
sanity.json
file needs to exists in the root of your project. With this content.
{
"api": {
"projectId": "{projectId}",
"dataset": "{dataset}"
}
}
Hi there,
I'm currently learning sanity and utilising it within a Nuxt.js application, so far the docs have been really helpful, but I can't get this extension to do anything. The official docs say I need a sanity.json file, but that's not the case with the Nuxt consumer, as it's configured as part of the Nuxt config, rather than in a standalone file?
And direction would be appreciated.