• Type: boolean

  • Default: false


Please use the new command in the root directory of the current project to enable BFF functionality first.

By default, the BFF service can only handle requests for BFF APIs.

When this value is set to true, page request will also pass through BFF, and the default logic for page rendering built in Modern.js will run as the last middleware of the BFF service.

export default defineConfig({
  bff: {
    enableHandleWeb: true,