Daniel Roe

Results 2594 comments of Daniel Roe

bun compatibility issues should be reported to bun 🙏

closing as this limitation of `app.config.ts` is documented. Vue SFCs and other Vue-only code can't be imported in app.config as it is shared with nitro.

Here's a minimal reproduction without Nuxt: https://play.vuejs.org/#__SSR__eNqNksFOAjEQhl9l0pNGBAx6WdFEDYl6QKImXnpZtsNS6LZN210ghHd3touwJoZ4adr55+98M+2WPVjbrUpkCRsGLKxKA95zDTAUsoobAIfWGVFmQRodpV6jDXstBx195qQN4DGUFlSq8zvOgueMVIEzqXHijPVn2/qOLHXiS4owTyCeAcLGYgLjspii6zQhcqWlCgkM+v0Y2sW19j6jzOek/MN80zLvzm9r7oZ0Tx02CsFnxqKoSWXVXDo1TqBL4MquwRslBUxVmi3JDzDfV68up1KLsyMQXABnds1ZXQdg1XTYSos9/8raRaAagqqzDk0sM3om8+7CG03PEmE4y0xhpUL3ZutnoKkeeucsVcqsXmMsuBL3AyDPHLPlH/GFp9oJbSYOPboKOTtoIXU5hkYefYxxTfuDWNA3UJR9QnxHGlYZv0pMeyy1IOxWXqR9KaxxQer804/WAbX/aaoGPT41Z/Q3n060fsQddK+jjybKdt+ze++9 It seems to be a bug with the SSR rendering of `@vue/template-compiler`. I've [raised an issue](https://github.com/vuejs/core/issues/11779). Let's track there. 🙏

Closing as it's reported fixed in latest nuxi. If that's not the case, let me know with a minimal reproduction and I'll happily reopen.

You can add patterns for the shared directory here: https://github.com/nuxt/nuxt/blob/77e36ee27497cb5b9765a0cdc61e11f810272e1a/packages/nuxt/src/core/plugins/import-protection.ts#L12-L52 Or let me know, and I'll happily implement. 🙏

we now have an `app/` folder for vue server+client, and the `.server` and `.client` suffix only applies to server vs client on the vue side of the app, not to...

@ThimoDEV The auto-imports is only top level. For files nested more deeply, you can import from `#shared/your-folder`

Instead of wrapping just the options, it's better for inference to wrap the entire `$fetch` function, as long as you are simply adding a header.

You should deploy the .output directory, which is self contained, not the .nuxt directory which is an intermediate build artifact. If .output has references to any files outside that directory,...

Is this new behaviour? Did you garbage collect before and after taking snapshots? And yes, I do need a reproduction. 🙏