Daniel Roe

Results 2592 comments of Daniel Roe

This looks like it might be the same issue as https://github.com/vuejs/core/issues/5513.

The route-based data issue is resolved and [is no longer reproducible](https://stackblitz.com/edit/github-kcptvx-c4qpsw), so I'm going to close this. Note that if you are using `provide/inject` to inject data _based on the...

Did you check the reproduction I linked? ![CleanShot 2022-09-14 at 11 06 35](https://user-images.githubusercontent.com/28706372/190126184-97e9fe28-6b6a-4a96-86b9-18ae93a5f27e.gif)

You should not share a key between the pages. Set it to `user-${route.params.id}` or something.

Runtime config set in Nuxt config needs to be serialisable. Map is not a valid type for it, and no matter what, won't be passed directly to the browser. It's...

This is absolutely planned, though I couldn't find an issue for it.

You can import it from `vue` or `#imports` - neither of which would work in a unit test out-of-the-box. You can see what they correspond to by inspecting the paths...

There are both jest + vitest drivers for Nuxt e2e testing.

Ah, yes. Jest does struggle with ESM. That's not an issue with Nuxt, per se, but it's a tricky one. There are various guides online.