Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

djedi-json

Package Overview
Dependencies
Maintainers
3
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

djedi-json

A modular DIY-admin able to utilize existing components from your react frontend.

  • 0.2.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
31
increased by63.16%
Maintainers
3
Weekly downloads
 
Created
Source

Djedi - JSON

A modular DIY-admin able to utilize existing components from your react frontend.

Documentation Develop this package!

installing

npm install -S djedi-json react react-dom

Djedi pages frontend

Basic setup

Documentation

Admin

config

Components

Contexts

useCMS useEdit

registering components

Edits

  • Context useEdit

Pre-made edits

Common parameters

CMSType/Children

append, self, allowed

CMSType/String

plain string

CMSType/Select

CMSType/Custom

options, can be either a list of strings or an object with labeland value keys.

registering custom edits

All custom edits needs to accept at least value and onChange as props. type use CMSType.custom.

overriding edits

Usage

Typescript

Development

Within this repo is an example Create-react-app that has a link into the folder above, being the admin.

Get started:

npm ci; // install dependencies for djedi-json
npm start; // starts the rollup build-watcher
cd example;
npm ci;  // install dependencies for the example app
npm start; // start the CRA app.

FAQs

Package last updated on 17 Jun 2021

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc