static-cms/packages/netlify-cms-app
Daniel Lautzenheiser b29f37289e chore(release): publish
- netlify-cms-app@2.15.106
 - netlify-cms-backend-azure@1.3.2
 - netlify-cms-backend-bitbucket@2.14.1
 - netlify-cms-backend-git-gateway@2.13.3
 - netlify-cms-backend-github@2.14.2
 - netlify-cms-backend-gitlab@2.13.1
 - netlify-cms-backend-proxy@1.2.4
 - netlify-cms-backend-test@2.11.4
 - netlify-cms-core@2.55.34
 - netlify-cms-default-exports@2.4.1
 - netlify-cms-ui-default@2.15.19
 - netlify-cms-widget-boolean@2.4.2
 - netlify-cms-widget-code@1.3.5
 - netlify-cms-widget-colorstring@1.1.3
 - netlify-cms-widget-date@2.6.4
 - netlify-cms-widget-datetime@2.7.5
 - netlify-cms-widget-file@2.12.4
 - netlify-cms-widget-image@2.8.2
 - netlify-cms-widget-list@2.10.2
 - netlify-cms-widget-map@1.5.2
 - netlify-cms-widget-markdown@2.15.2
 - netlify-cms-widget-object@2.7.3
 - netlify-cms-widget-relation@2.11.2
 - netlify-cms@2.10.220
2022-09-21 19:36:11 -04:00
..
2022-09-21 19:36:11 -04:00
2022-09-21 19:36:11 -04:00

Netlify CMS App

For a Netlify CMS overview, see the general Netlify CMS project README.

Community Chat

Join us on Slack

Purpose

This package is similar to the netlify-cms package, but is designed for use with extensions. It serves that purpose in the following ways.

  • It does not automatically initialize - you must run the CMS init method.
  • It does not include react or react-dom - they are required as peer dependencies.
  • It does not include the following extensions:
    • [netlify-cms-media-library-cloudinary]
    • [netlify-cms-media-library-uploadcare]

Usage

Install via script tag:

<!-- Excluding `doctype` and `head` but you should add them -->
<body>
  <!-- Add these scripts to the bottom of the body -->
  <script src="https://unpkg.com/react@^16/umd/react.production.min.js"></script>
  <script src="https://unpkg.com/react-dom@^16/umd/react-dom.production.min.js"></script>
  <script src="https://unpkg.com/netlify-cms-app/dist/netlify-cms-app.js"></script>
  
  <!-- Initialize the CMS -->
  <script>
    NetlifyCmsApp.init();
  </script>
</body>

Install via npm:

npm i react react-dom netlify-cms-app
import CMS from 'netlify-cms-app';

CMS.init();