@10up/headless-next
@10up/headless-next
is the Next.js bindings for the headless framework.
In addition to the default export, this packages also exports:
-
@10up/headless-next/config
: For using withnext.config.js
ornext.config.mjs
-
@10up/headless-next/middlewares
: Contains next.js middlewares. Exported separately as the next.js middleware runtime is limited and can only run a subset of APIs.
Installation
@next (unstable)
npm install --save @10up/headless-next@next
Support Level
Active: 10up is actively working on this, and we expect to continue work for the foreseeable future including keeping tested up to the most recent version of WordPress. Bug reports, feature requests, questions, and pull requests are welcome.