For a Netlify CMS overview, see the general Netlify CMS project README.
This package is similar to the netlify-cms
package, but is designed for use with extensions. It serves that purpose in the following ways.
init
method.react
or react-dom
- they are required as peer dependencies.netlify-cms-media-library-cloudinary
]netlify-cms-media-library-uploadcare
]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();