Files
OpenDTU/webapp
Bernhard Kirchen eecd7f7c28 webapp: optimize spacing on bottom of cards
if the last child in a card (div.card > div.card-body) adds bottom
marging, we don't want the card to add more space through its
padding-bottom. most cards have children that add sufficient space
at the bottom anyways.
2024-11-01 23:43:51 +01:00
..
2024-04-24 22:33:37 +02:00
2024-07-05 21:32:26 +02:00
2024-10-08 18:15:03 +02:00
2024-10-05 23:33:23 +02:00
2024-11-01 21:52:55 +01:00
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