Skip to content

Commit 0cf46f8

Browse files
committed
Adapt README and cleanup index.html files for ViteJS refactoring
1 parent e99d3bf commit 0cf46f8

File tree

3 files changed

+8
-44
lines changed

3 files changed

+8
-44
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ This seed demonstrates how to use [JSON Forms](https://jsonforms.io) with React
55
It is based on `create-react-app` and only contains minor modifications.
66

77
- 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.
89
- Execute `npm start` to start the application.
910

1011
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:
1516

1617
- `src/schema.json` contains the JSON schema (also referred to as 'data schema')
1718
- `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.
1920
- `src/App.tsx` is the main app component and makes use of the `JsonForms` component in order to render a form.
2021

2122
The [data schema](src/schema.json) defines the structure of a Task: it contains attributes such as title, description, due date and so on.

index.html

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8" />
5-
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
5+
<meta name="theme-color" content="#000000" />
66
<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" />
711
<title>JSONForms React Starter</title>
812
</head>
913
<body>

public/index.html

-41
This file was deleted.

0 commit comments

Comments
 (0)