mirror of
https://github.com/tbnobody/OpenDTU.git
synced 2026-03-26 10:57:58 +01:00
* add margin to the bottom of the row containing the controls so the buttons would have some room to the textbox. * align the text baselines of the checkbox label and the buttons as well as possible. align-items-baseline does not work as expected...
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