Daniel Roe

Results 1868 comments of Daniel Roe

Nitro does not support receiving a function for `generate.routes`. Instead, you can use an async hook to add routes to the options.

Are you still encountering this? Would you be able to provide a reproduction if so? 🙏

I'm going to close this as there's not a lot to trace down from here. But feel free to raise a [minimal reproduction](https://stackblitz.com/github/nuxt/starter/tree/v2-bridge) and I'll happily reopen.

Sure. I'll prepare a reproduction. It's worth noting that the error only shows up in production - not in dev.

https://github.com/danielroe/nuxt-ie-http Just build/start and view in IE. Error screenshot: ![Screenshot from 2020-08-28 11-51-51](https://user-images.githubusercontent.com/28706372/91547924-e8ad7e00-e924-11ea-8c1d-3f1fafdccac2.png)

I have written an almost-drop-in replacement for ky + this module that does work in IE. As I recall the issue was ky's implementation of the Headers class. I'm not...

@pi0 would you like a PR to refactor this module not to use `ky`?

This is the case. Using nitro, the `render` property in your `nuxt.config` is not taken into account. Instead, https://github.com/nuxt/vue-bundle-renderer is used to render the page response.

Would you provide a minimal reproduction please, from https://stackblitz.com/github/nuxt/starter/tree/v2-bridge?

Do you still encounter this? I can't now reproduce with your sandbox: https://codesandbox.io/s/epic-elion-siyj7d