Skip to content

Commit

Permalink
Adapt README and cleanup index.html files for ViteJS refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
lucas-koehler committed Jun 12, 2024
1 parent e99d3bf commit 0cf46f8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 44 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ This seed demonstrates how to use [JSON Forms](https://jsonforms.io) with React
It is based on `create-react-app` and only contains minor modifications.

- Execute `npm ci` to install the prerequisites. If you want to have the latest released versions use `npm install`.
- Execute `npm run build` to build the application.
- Execute `npm start` to start the application.

Browse to http://localhost:3000 to see the application in action.
Expand All @@ -15,7 +16,7 @@ Let's briefly have a look at the most important files:

- `src/schema.json` contains the JSON schema (also referred to as 'data schema')
- `src/uischema.json` contains the UI schema
- `src/index.tsx` is the entry point of the application. We also customize the Material UI theme to give each control more space.
- `src/main.tsx` is the entry point of the application. We also customize the Material UI theme to give each control more space.
- `src/App.tsx` is the main app component and makes use of the `JsonForms` component in order to render a form.

The [data schema](src/schema.json) defines the structure of a Task: it contains attributes such as title, description, due date and so on.
Expand Down
8 changes: 6 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="theme-color" content="#000000" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="shortcut icon" href="/favicon.ico" />
<link
rel="stylesheet"
href="https://fonts.googleapis.com/icon?family=Material+Icons" />
<title>JSONForms React Starter</title>
</head>
<body>
Expand Down
41 changes: 0 additions & 41 deletions public/index.html

This file was deleted.

0 comments on commit 0cf46f8

Please sign in to comment.