0.6.4 • Published 1 month ago

djedi-json v0.6.4

Weekly downloads
-
License
ISC
Repository
github
Last release
1 month ago

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.
0.6.4

1 month ago

0.6.3

3 months ago

0.6.2

3 months ago

0.6.1

3 months ago

0.6.0

3 months ago

0.5.11

2 years ago

0.5.10

2 years ago

0.5.8

2 years ago

0.5.9

2 years ago

0.5.7

2 years ago

0.5.4

2 years ago

0.5.3

2 years ago

0.5.6

2 years ago

0.5.5

2 years ago

0.5.0

2 years ago

0.5.2

2 years ago

0.5.1

2 years ago

0.4.1

3 years ago

0.3.0

3 years ago

0.3.1

3 years ago

0.2.3

3 years ago

0.2.2

3 years ago

0.2.4

3 years ago

0.2.1

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago