integrations/nuxt #552
Replies: 5 comments 1 reply
-
| 我发现集成在nuxt使用swager会出现response重复消费的报错,swagger不能显示 | 
Beta Was this translation helpful? Give feedback.
-
| 再次示范,有问题,playground使用src的 可以使用swagger,但是使用你发布的包就不能使用 | 
Beta Was this translation helpful? Give feedback.
-
| I am using the latest versions of dependencies, but an error occurs when opening the Swagger page. When accessing the URL http://localhost:3000/_api/swagger in the browser, the browser console reports the following error: YAMLParseError: Implicit keys need to be on a single line at line 1, column 1: Response.clone: Body has already been consumed. package.json | 
Beta Was this translation helpful? Give feedback.
-
| I solved the problem. I referred to your github dependency https://github.com/tkesgar/nuxt-elysia/blob/main/package.json Just downgrade the swagger version | 
Beta Was this translation helpful? Give feedback.
-
| Can it be seamlessly integrated with  nuxt api routes? instead of  | 
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
integrations/nuxt
With community plugin 'nuxt-elysia', we can run Elysia on Nuxt API route with Eden Treaty setup automatically.
https://elysiajs.com/integrations/nuxt
Beta Was this translation helpful? Give feedback.
All reactions