3.6.2-2025-04-02150018054 • Published 7 months ago

@fgnass/decap-cms-app v3.6.2-2025-04-02150018054

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

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.

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@^18/umd/react.production.min.js"></script>
  <script src="https://unpkg.com/react-dom@^18/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();