Socket
Socket
Sign inDemoInstall

decap-cms-app

Package Overview
Dependencies
39
Maintainers
0
Versions
31
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

decap-cms-app


Version published
Weekly downloads
3.9K
decreased by-14.14%
Maintainers
0
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 27 Jun 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc