Estéban
Estéban
Hey, Here the code for the workaround ```ts const buffer = defineCachedFunction(async () => { return Buffer.from("Hello, World!"); }); export default defineEventHandler(async (event) => { return Buffer.from(await buffer()); }); ```
> import protection What do you mean? I never heard this term before. Do you have an example? --- _Edit_ Oh, you mean, protecting against unwanted imports like vue /...
> 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. 🙏 ~I do not know how to...
I'm facing another issue. Everything in the `shared` folder is available from `imports` folder because of this, people would want to import inside the shared folder, stuff from the shared...
I think you're missing the point that the app run both on the server and on the client while the server is more like an API. Because of this, using...
> Is there a reason why only the top level files in the `shared/utils` and `shared/types` folders are auto-imported, and not nested folders like `shared/foo` or `shared/utils/bar`? Because it is...
Thanks for this advice. I have created a utils but it's very hard to infer the proper type for the options. ```ts import type { NitroFetchOptions, NitroFetchRequest } from 'nitropack'...
Hey, could you explain why are you trying to server something from an assets folder?
Nuxt will reload each time the `playwright-reporter` is updated.
Hey 👋, @danielroe, I think this PR is ready for review. I put 2 todos inside the code that are more questions than todos. I'd like to hear what you...