imcm7
imcm7
@abdullahchaudhry Why I get `paramTypes: undefined` if use such decorator in Nuxt 3? It's because of vite/esbuild?
@rbuckton `import rollupPluginTs from '@rollup/plugin-typescript';` and add it to nuxt.config nitro.esbuild.rollupConfig.plugins work ``` rollupPluginTs({ include: ['server/controllers/*.ts'], tsconfig: 'tsconfig.decorators.json', }), ```
@rbuckton now I have paramTypes [ [Function: Object], [Function: Object] ] designType [Function: Function] returnTypes [Function: Promise] but expect something like User, String, Number
It's because type is `Partial`, with `User` type all is ok.
How to disable it, because i use dir tasks for other stuff?
And people do something like https://github.com/adityar15/nuxt3socket/tree/master/server https://stackoverflow.com/questions/73592619/socket-io-websocket-not-working-in-nuxt-3-when-in-production or use `const io = new Server();` without passing of srv.
@birkskyum But what is that `ConnectionError: Not implemented in bun` ``` node_modules/@elastic/transport/lib/Transport.js:529:30 at asyncFunctionResume (native) at promiseReactionJobWithoutPromiseUnwrapAsyncContext (native) at promiseReactionJob (native) at processTicksAndRejections (native) at asyncFunctionResume (native) at promiseReactionJobWithoutPromiseUnwrapAsyncContext (native)...
> ```ts > app.use(fromNodeMiddleware(serveStatic(`${root}/dist/client`))) > ``` @magne4000 something not work, i try with nitroApp.h3App.use()
> HTML E-Mail Templates would be great. Any way to achieve this currently? https://nuxt.com/modules/vue-email
dist/index.d.mts. Consider restricting the plugin to particular files via options.include