Skip to content

Commit

Permalink
Fixed documentation for webapp dev mode
Browse files Browse the repository at this point in the history
  • Loading branch information
tbnobody committed Aug 5, 2024
1 parent e279cf5 commit 0bb3fc8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webapp/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# OpenDTU web frontend

You can run the webapp locally with `yarn dev`. If you enter the IP of your ESP in the `vite.config.ts` beforehand, all api requests will even be proxied to the real ESP. Then you can develop the webapp as if it were running directly on the ESP. The `yarn dev` also supports hot reload, i.e. as soon as you save a vue file, it is automatically reloaded in the browser.
You can run the webapp locally with `yarn dev`. If you enter the IP of your ESP in the `vite.user.ts` beforehand (template can be found in `vite.config.ts`), all api requests will even be proxied to the real ESP. Then you can develop the webapp as if it were running directly on the ESP. The `yarn dev` also supports hot reload, i.e. as soon as you save a vue file, it is automatically reloaded in the browser.

## Project Setup

Expand All @@ -24,4 +24,4 @@ yarn build

```sh
yarn lint
```
```

0 comments on commit 0bb3fc8

Please sign in to comment.