import { serve } from "@novu/framework/next"; import { myWorkflow } from "../../novu/workflows"; export const { GET, POST, PUT, OPTIONS } = serve({ workflows: [myWorkflow] });
import { serve } from "@novu/framework/next"; import { myWorkflow } from '../../novu/workflows'; export default serve({ workflows: [myWorkflow] });
Check out a comprehensive guide on sending notifications in Next.js with React email.
Was this page helpful?