Faust.js Headless WordPress Toolkit for Next.js
Faust.js by WP Engine is a JavaScript framework and WordPress plugin that streamlines building headless WordPress sites with Next.js. It handles data fetching via WPGraphQL, authentication, content previews, and server-side rendering, providing a production-ready bridge between WordPress as a CMS and React-based frontends.
Installation
Requirements and caveats from upstream:
- Node.js v18 or newer. npm v8 or newer.
Basic usage or getting-started notes:
There are two key parts to Faust.js: the NPM packages and the WordPress plugin. To take full advantage of headless, you will need to install the plugin in addition to the npm packages.
Extracted from upstream docs: https://raw.githubusercontent.com/wpengine/faustjs/HEAD/README.md