OpenDTU-old/webapp
Bernhard Kirchen b808e9ab18 HTTP+JSON power meter: value 1 is always enabled
enabling the HTTP+JSON power meter without enabling at least one value
makes no sense, so value 1 has always been treated as "always enabled".
while doing the power meter refactoring, however, a regression was
introduced that would hide the settings for value 1 in the web UI until
the power meter settings would be saved, which they cannot be due to
missing settings for value 1.
2024-07-01 22:07:55 +02:00
..
.vscode webapp: Migrated from vue-cli to vite 2022-10-17 19:26:04 +02:00
public Updated timezone config 2024-04-24 22:33:37 +02:00
src HTTP+JSON power meter: value 1 is always enabled 2024-07-01 22:07:55 +02:00
.gitignore make vite proxy target easily configurable 2023-08-09 16:58:58 +02:00
env.d.ts webapp: Migrated from vue-cli to vite 2022-10-17 19:26:04 +02:00
eslint.config.js webapp: update dependencies 2024-04-12 20:02:18 +02:00
index.html fix: project's name is 'OpenDTU-OnBattery' (capital 'O') 2024-05-30 13:55:44 +02:00
package.json webapp: update dependencies 2024-06-10 21:40:55 +02:00
README.md Added additional documentation for webapp development 2022-11-25 18:14:33 +01:00
tsconfig.config.json merge V23.12.16 (#556) 2023-12-27 11:49:57 +01:00
tsconfig.json webapp: Enable stricter error reporting 2023-04-24 20:31:24 +02:00
vite.config.ts Merge remote-tracking branch 'tbnobody/OpenDTU/master' into merge-v24.4.12 2024-04-25 20:59:19 +02:00
yarn.lock webapp: update dependencies 2024-06-10 21:40:55 +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