mirror of
https://github.com/tbnobody/OpenDTU.git
synced 2026-03-30 13:57:21 +02:00
* Use mathieucarbou/MycilaNTP which make the same as the currenet code with further improvements * Remove zones.json file as it is already included in the NTP library now * Remove the "Timezone" property from config as we will only save the time zone name in future (instead of spec + name) * When changing the time zone, the device local time will be updated immidiatly in the web ui
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