SDK
Integrate Novu with Next.js
- API Reference
- Discord Support
- Introduction
- JSON Schema
For Non-Developers
Recipes
SDK
Integrate Novu with Next.js
App Router
import { serve } from "@novu/echo/next";
import { echo } from "../../echo/client";
export const { GET, POST, PUT } = serve({ client: echo });
Pages Router
import { serve } from "@novu/echo/next";
import { echo } from '../../echo/client';
export default serve({ client: echo });
Was this page helpful?