Reinier Kaper
i18n doesn't work with 3.11
I already reported a bug for it, just wanted to post for posterity.
When using
getRoutseBaseName
, the i18n module throws a new error with nuxt 3.11, where it can't access the runtimeConfig.
Repro is in the GH issue: https://github.com/nuxt-modules/i18n/issues/2891
This prevents us from upgrading1 replies
Writing a wrapper for useFetch
Hey!
We'd like to write some helper wrappers for useFetch (for example to call Ghost CMS endpoints for posts, or pages, all with their own composable abstracted.
I'm wondering how do you correctly type the fetch options? I just want to pass the type through
3 replies
credentials = 'include' not sending cookies server-side in plugin
We have an ofetch plugin that sets some things in
onRequest
, this includes a options.credentials = 'include'
. The option works fine (we can log it), but somehow the browser's cookies are never actually sent.
Adding credentials: 'include'
in useFetch
works, but we need this option globally for all our API endpoints2 replies
@nuxtjs/robots, defineNuxtConfig option `robots` is not recognized
As the title says. The robots key in the config file throws a TS error after installing the module.
Object literal may only specify known properties, and 'robots' does not exist in type 'InputConfig<NuxtConfig, ConfigLayerMeta>'.ts(2345)
5 replies