OpenDTU-old/webapp
Bernhard Kirchen 3c0fabfbb8 webapp: declare emitted event in FormFooter component
fixes an annoying warning (visible in the browser console):

[Vue warn]: Extraneous non-emits event listeners (reload) were passed to
component but could not be automatically inherited because component
renders fragment or text root nodes. If the listener is intended to be a
component custom event listener only, declare it using the "emits"
option.
2024-11-06 22:26:38 +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: declare emitted event in FormFooter component 2024-11-06 22:26:38 +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-10-15 18:11:31 +02: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 webapp: Update dependencies 2024-10-08 18:15:03 +02:00
yarn.lock webapp: Update dependencies 2024-10-15 18:11:31 +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.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