OpenDTU/webapp
Thomas Basler 59f43a82a8 BREAKING CHANGE: Web API Endpoint /api/devinfo/status requires GET parameter inv=
Only the requested inverter is sent to the client. This reduces the size of the json response --> Less memory.

It should also fix #814.
2023-04-17 21:48:16 +02:00
..
.vscode webapp: Migrated from vue-cli to vite 2022-10-17 19:26:04 +02:00
public webapp: Migrated from vue-cli to vite 2022-10-17 19:26:04 +02:00
src BREAKING CHANGE: Web API Endpoint /api/devinfo/status requires GET parameter inv= 2023-04-17 21:48:16 +02:00
.eslintrc.cjs webapp: Migrated from vue-cli to vite 2022-10-17 19:26:04 +02:00
.gitignore webapp: Migrated from vue-cli to vite 2022-10-17 19:26:04 +02:00
env.d.ts webapp: Migrated from vue-cli to vite 2022-10-17 19:26:04 +02:00
index.html webapp: Migrated from vue-cli to vite 2022-10-17 19:26:04 +02:00
package.json webapp: Update dependencies 2023-04-15 11:01:40 +02:00
README.md Added additional documentation for webapp development 2022-11-25 18:14:33 +01:00
tsconfig.config.json webapp: Migrated from vue-cli to vite 2022-10-17 19:26:04 +02:00
tsconfig.json webapp: Update dependencies 2023-03-20 18:10:52 +01:00
vite.config.ts webapp: update dependencies 2023-03-23 23:37:58 +01:00
yarn.lock webapp: Update dependencies 2023-04-15 11:01:40 +02:00

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.

Project Setup

yarn install

Compile and Hot-Reload for Development

yarn dev

Type-Check, Compile and Minify for Production

yarn build

Lint with ESLint

yarn lint