Example using [Next.js Custom Server](https://nextjs.org/docs/pages/building-your-application/configuring/custom-server) with express. Made from official [examples/custom-server](https://github.com/vercel/next.js/tree/canary/examples/custom-server) from Next.js repository.
7 lines
174 B
TypeScript
7 lines
174 B
TypeScript
import { withPayload } from "@payloadcms/next/withPayload";
|
|
import type { NextConfig } from 'next'
|
|
|
|
const nextConfig: NextConfig = {}
|
|
|
|
export default withPayload(nextConfig)
|