Skip to main content
API Reference / @modelence/next / nextServer
const nextServer: NextServer
Defined in: index.ts:54 Pre-configured Next.js server instance for Modelence applications. Use this instance in your Modelence server configuration:

Example

import { startApp } from 'modelence/server';
import { nextServer } from '@modelence/next';

startApp({
  server: nextServer
});