Skip to content

Commit b170943

Browse files
committed
update README
1 parent b38ab5e commit b170943

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,6 @@ The `./dist/` folder is the root of the site. It is created by Webpack and conta
4646
npm run dev
4747
```
4848

49-
or
50-
51-
```shell
52-
npm run build
53-
```
54-
5549
`./src` contains `App.tsx`, which is the entry point of the React app. It imports components from `./src/shared` and global styles from `./assets/styles/`. `App.tsx` is in turn imported by server (`server.tsx`) and client (`index.tsx`) files in `./src/server/` and `./src/client/`, respectively.
5650

5751
The `app.get()` method in server code (`./src/server/server.tsx`) specifies a callback function that will render to string React component from `App.tsx` and past it in a HTML template (`./src/server/indexTemplate.ts`), whenever there is an HTTP GET request with a path (`/`) relative to the site root.

0 commit comments

Comments
 (0)