3 files changed +8
-44
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ This seed demonstrates how to use [JSON Forms](https://jsonforms.io) with React
5
5
It is based on ` create-react-app ` and only contains minor modifications.
6
6
7
7
- Execute ` npm ci ` to install the prerequisites. If you want to have the latest released versions use ` npm install ` .
8
+ - Execute ` npm run build ` to build the application.
8
9
- Execute ` npm start ` to start the application.
9
10
10
11
Browse to http://localhost:3000 to see the application in action.
@@ -15,7 +16,7 @@ Let's briefly have a look at the most important files:
15
16
16
17
- ` src/schema.json ` contains the JSON schema (also referred to as 'data schema')
17
18
- ` src/uischema.json ` contains the UI schema
18
- - ` src/index .tsx ` is the entry point of the application. We also customize the Material UI theme to give each control more space.
19
+ - ` src/main .tsx ` is the entry point of the application. We also customize the Material UI theme to give each control more space.
19
20
- ` src/App.tsx ` is the main app component and makes use of the ` JsonForms ` component in order to render a form.
20
21
21
22
The [ data schema] ( src/schema.json ) defines the structure of a Task: it contains attributes such as title, description, due date and so on.
Original file line number Diff line number Diff line change 1
- <!DOCTYPE html>
1
+ <!doctype html>
2
2
< html lang ="en ">
3
3
< head >
4
4
< meta charset ="UTF-8 " />
5
- < link rel =" icon " type =" image/svg+xml " href =" /vite.svg " />
5
+ < meta name =" theme-color " content =" #000000 " />
6
6
< meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
7
+ < link rel ="shortcut icon " href ="/favicon.ico " />
8
+ < link
9
+ rel ="stylesheet "
10
+ href ="https://fonts.googleapis.com/icon?family=Material+Icons " />
7
11
< title > JSONForms React Starter</ title >
8
12
</ head >
9
13
< body >
Load Diff This file was deleted.
0 commit comments