This project is a simple template to start a new project with Preact, tailwind and Vite for the ESP8266, using PlatformIO.
secrets.h
file inside the src
using the secrets.h.example
as a template. This file will contain the WiFi credentials.SECRET_JWT
for disabling authentication.pio run -t upload
or use the PlatformIO IDE.To use this project in ESP32 boards, just open the platformio.ini
file, comment the line with default_envs = esp12e
and uncomment the line with default_envs = node32s
. Platformio should handle everything else by itself.
interface/.env
file following the interface/.env.example
yarn dev
inside the interface/
folder