webiny-api-cookie-policy
v1.0.1
Published
The API for the Webiny Cookie Policy (webiny-app-cookie-policy) app.
Downloads
3
Readme
webiny-api-cookie-policy
The API for the Webiny Cookie Policy (webiny-app-cookie-policy) app.
Install
npm install --save webiny-app-cookie-policy
Or if you prefer yarn:
yarn add webiny-app-cookie-policy
Setup
To setup, you must register a set of plugins. For more information on plugins, please visit Webiny documentation.
import cookiePolicyPlugins from "webiny-api-cookie-policy"
import { registerPlugins } from "webiny-plugins";
registerPlugins(cookiePolicyPlugins);
Exposes necessary GraphQL fields for updating app settings.