Hey !
I've been converting my app from nuxt automatic routing to this module so I can have more freedom with routes (in static generation mode) and got an error while accessing pages.
TypeError: undefined is not an object (evaluating 'c.fetch[this._fetchKey]') —
I might be wrong but I think it's coming from data hydratation between the cdn page's content & client.
I made a test with a simple component with asyncData
Hey ! I've been converting my app from nuxt automatic routing to this module so I can have more freedom with routes (in static generation mode) and got an error while accessing pages.
Which seems to appear in here https://github.com/nuxt/nuxt.js/blob/dev/packages/vue-app/template/mixins/fetch.client.js#L41
I might be wrong but I think it's coming from data hydratation between the cdn page's content & client. I made a test with a simple component with
asyncData
& that's the result from the page
As you can see
window._NUXT_
doesn't contain data.This is my conf
Am I doing something wrong ? Would love to have your feedback quickly as this bug is pretty annoying for us. 🙏 Thanks !