1.15.1 • Published 5 years ago

webiny-app-cms v1.15.1

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

webiny-app-cms

npm.io npm.io code style: prettier PRs Welcome

Enables Webiny CMS in the Admin area and on your site.

Use together with webiny-api-cms package.

For more information, please visit the Webiny documentation: 1. Webiny Theme Tutorial Overview 2. CMS Element - Overview

Install

npm install --save webiny-app-cms

Or if you prefer yarn:

yarn add webiny-app-cms

Note: the webiny-api-cms is also required.

Setup

To setup, you must register a set of plugins. For more information on plugins, please visit Webiny documentation.

Admin

import cmsPlugins from "webiny-app-cms/admin"
import { registerPlugins } from "webiny-plugins";

registerPlugins(cmsPlugins);

Site

import cmsPlugins from "webiny-app-cms/render"
import { registerPlugins } from "webiny-plugins";

registerPlugins(cmsPlugins);