JSPM

netlify-cms-app

2.15.72
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 11211
  • Score
    100M100P100Q141949F
  • License MIT

An extensible, open source, Git-based, React CMS for static sites. Reusable congiuration with React as peer.

Package Exports

  • netlify-cms-app
  • netlify-cms-app/dist/esm
  • netlify-cms-app/dist/esm/index.js
  • netlify-cms-app/dist/netlify-cms-app.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (netlify-cms-app) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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();