Enables Webiny Page Builder in the Admin area and on your site.
Use together with @webiny/api-page-builder package.
npm install --save @webiny/app-page-builder
Or if you prefer yarn:
yarn add @webiny/app-page-builder
To setup, you must register a set of plugins. For more information on plugins, please visit Webiny documentation.
import { plugins } from "@webiny/plugins";
import pageBuilderPlugins from "@webiny/app-page-builder/admin/plugins";
plugins.register(pageBuilderPlugins);
Note that, once deployed, when you open your Admin interface for the first time, you will be prompted with a short installation wizard.
import { plugins } from "@webiny/plugins";
import pageBuilderPlugins from "@webiny/app-page-builder/site/plugins";
plugins.register(pageBuilderPlugins);