decap-cms-app
TypeScript icon, indicating that this package has built-in type declarations

3.1.10 • Public • Published

Decap CMS App

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

Purpose

This package is similar to the decap-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:
    • [decap-cms-media-library-cloudinary]
    • [decap-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/decap-cms-app/dist/decap-cms-app.js"></script>
  
  <!-- Initialize the CMS -->
  <script>
    DecapCmsApp.init();
  </script>
</body>

Install via npm:

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

CMS.init();

Dependencies (39)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i decap-cms-app

    Weekly Downloads

    2,883

    Version

    3.1.10

    License

    MIT

    Unpacked Size

    26.1 MB

    Total Files

    13

    Last publish

    Collaborators

    • samofab
    • demshy
    • poslovnimediji
    • martinjagodic