Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vutran/electron-react-jsonschema-form-demo
Quick demo on how to use React JSONSchema Form with Electron.
https://github.com/vutran/electron-react-jsonschema-form-demo
demo electron json-schema react
Last synced: 1 day ago
JSON representation
Quick demo on how to use React JSONSchema Form with Electron.
- Host: GitHub
- URL: https://github.com/vutran/electron-react-jsonschema-form-demo
- Owner: vutran
- License: mit
- Created: 2016-06-19T21:58:21.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-06-19T21:59:30.000Z (over 8 years ago)
- Last Synced: 2024-05-02T05:43:22.381Z (8 months ago)
- Topics: demo, electron, json-schema, react
- Language: JavaScript
- Homepage:
- Size: 528 KB
- Stars: 8
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Electron React JSON Schema Form Demo
Quick demo on how to use [React JSONSchema Form](https://github.com/mozilla-services/react-jsonschema-form) with [Electron](https://github.com/electron/electron).
### Usage
````js
import React from 'react';
import ReactDOM from 'react-dom';
import { ipcRenderer } from 'electron'; // eslint-disable-line import/no-unresolved
import Demo from 'electron-react-jsonschema-form-demo'; // eslint-disable-line import/no-unresolved// Load schemas and data
import schema from './json/schema';
import uiSchema from './json/uiSchema';
import formData from './json/formData';const rootNode = document.getElementById('app');
ReactDOM.render(
,
rootNode
);
````### Lint
````bash
$ npm run lint
````### Watch Files
````bash
$ npm run watch
````### Dev
````bash
$ npm run dev
````### Build
````bash
$ npm run build
````