integrations/nextjs #613
Replies: 1 comment 4 replies
-
| 
         Well... this is fun...  blackfyre  …/trusted-payments/trusted-payments   main ✘!?   v22.17.0   20:13  
 bun dev
$ next dev --turbopack
   ▲ Next.js 15.5.2 (Turbopack)
   - Local:        http://localhost:3000
   - Network:      http://192.168.0.190:3000
 ✓ Starting...
 ✓ Ready in 702ms
 ○ Compiling /api/[[...slugs]] ...
 ✓ Compiled /api/[[...slugs]] in 1489ms
 ⨯ Detected default export in '[project]/src/app/api/[[...slugs]]/route.ts'. Export a named export for each HTTP method instead.
 ⨯ No HTTP methods exported in '[project]/src/app/api/[[...slugs]]/route.ts'. Export a named export for each HTTP method.
 ⨯ Detected default export in '[project]/src/app/api/[[...slugs]]/route.ts'. Export a named export for each HTTP method instead.
 ⨯ No HTTP methods exported in '[project]/src/app/api/[[...slugs]]/route.ts'. Export a named export for each HTTP method.
 GET /api 405 in 2286msFollowed the description here.  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    4 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
integrations/nextjs
With Next.js App Router, you can run Elysia on Next.js routes. Elysia will work normally as expected because of WinterCG compliance.
https://elysiajs.com/integrations/nextjs.html
Beta Was this translation helpful? Give feedback.
All reactions