Skip to main content

Function: getHeadstartWPConfig()

getHeadstartWPConfig(): HeadlessConfig

Defined in: packages/core/src/utils/config.ts:22

Returns the contents of headless.config.js

This function requires framework integration in order to work. The contents of headless.config.js needs to be injected at build time into a global variable.

Make sure you are using one of the framework's integration (such as next) before using this function.

Returns

HeadlessConfig

The contents of headless.config.js