OpenDTU-old/webapp
Bernhard Kirchen 9132a88963 webapp: MQTT: use v-if in favor of v-show
if we hide elements (which is done using style="display:none;"), they
are still part of the DOM and mess with CSS rules that shall apply to
the last element of a card or the last row of a table.
2024-11-01 23:44:35 +01: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 webapp: MQTT: use v-if in favor of v-show 2024-11-01 23:44:35 +01:00
.gitignore make vite proxy target easily configurable 2023-08-09 16:58:58 +02:00
.prettierrc.json webapp: Add Autoformatter 2024-07-05 21:32:26 +02:00
env.d.ts webapp: Update dependencies 2024-10-08 18:15:03 +02:00
eslint.config.js webapp: Fix eslint issues 2024-10-05 23:33:23 +02:00
index.html Feature: High resolution Icon and PWA (Progressive Web App) functionality 2023-11-23 22:32:01 +01:00
package.json webapp: Update dependencies 2024-11-01 21:52:55 +01:00
README.md Fixed documentation for webapp dev mode 2024-08-05 18:31:31 +02:00
tsconfig.config.json webapp: Upgrade tsconfig node18 to node22 2024-09-16 19:13:17 +02:00
tsconfig.json webapp: Upgrade tsconfig node18 to node22 2024-09-16 19:13:17 +02:00
vite.config.ts Feature: Allow custom language pack for webapp 2024-10-21 20:15:56 +02:00
yarn.lock webapp: Update dependencies 2024-11-01 21:52:55 +01:00

OpenDTU web frontend

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

yarn install

Compile and Hot-Reload for Development

yarn dev

Type-Check, Compile and Minify for Production

yarn build

Lint with ESLint

yarn lint