webiny-api-cms
The API for the Webiny CMS (webiny-app-cms) app.
Install
npm install --save webiny-api-cms
Or if you prefer yarn:
yarn add webiny-api-cms
Setup
To setup, you must register a set of plugins. For more information on plugins, please visit Webiny documentation.
import cmsPlugins from "webiny-api-cms"
import { registerPlugins } from "webiny-plugins";
registerPlugins(...cmsPlugins);
Exposes necessary GraphQL fields that handle app settings, pages and more.