OpenDTU/webapp
Bernhard Kirchen 0832d3e18c webapp: beautify radio statistics reset button
it would be nice to have this in the header of the accordion, which is
hard, but doable. however, clicking the button then also toggles the
accordion, which is unacceptable. preventing that seems non-trivial, as
the @click.stop() is not enough. also, nesting interactive elements is
simply bad practice. the button can also go to the right of header, with
reasonable effort, but the corner radii are then messed up and would
need to react interactively (accordion collapsed or not), which is also
a pain.

we now "float" the reset button to the right, add a nice icon, and give
the button some space so it at least looks like it belongs there.
2024-11-01 23:42:04 +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: beautify radio statistics reset button 2024-11-01 23:42:04 +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