Daniel Roe

Results 2592 comments of Daniel Roe

I'd like to have something about runtimes as well - e.g. you don't have to deploy to any specific provider to create a node/deno/bun server.

@onmax my apologies for the delay in reviewing this. I think in general it's best to leave this (good idea) to userland rather than building into Nuxt.

seems to work fine. https://stackblitz.com/edit/github-a3cz37?file=app.vue

You should not be importing code from your `~/server` directory in the Vue part of your app. Also, you should not add a separate plugin for typescript support in the...

would you update the reproduction then? the one i provided works fine

I'm thinking one way to do this would be - update SingleRenderer to render any component that has `renderMode: 'isolated'` (or equivalent) in the component options (in production too) -...

`NuxtPage` is not available unless you have a `pages/` directory, so using it (even on a conditional basis) will not work. Even if it did work, it would increase the...

No, I don't think we should use the `components.json` template. It's not always generated. But you could create a new template if needed: https://github.com/nuxt/nuxt/blob/0f897a056e8a4ae2565e2cf96f39de878f5cad44/packages/nuxt/src/components/module.ts#L134-L137