svelte - generate a single static html #171
Replies: 2 comments
-
Hi @apreb, Thanks you :)
|
Beta Was this translation helpful? Give feedback.
-
Hi Mair, I used that strategy before, with 2xOTA updates, one for the firmware and another for SPIFFS, and it was not the best experience, so i evolved to a full binary bundle with singe OTA app, and was planning to get rid of spiffs, but i guess it's reasonable to go back just to get that frontend dev integrated. Thanks! |
Beta Was this translation helpful? Give feedback.
-
Hi Mair, first of all congratulations for the excellent ESP32 course!
I've been following the website development section and i am amazed on the svelte setup on your lectures. According to your instructions the web page content is generated as a collection of static files that are then linked to SPIFFS filesystem. It works really great.
I would like to know if its possible to, go a step further and generate the full web content as a single html file, where i could then compress and embed on the project the same way i do with certificates. The bigger advantage is that every OTA update will include the web page too. I currently use this approach but i lack the frontend dev setup so my web page ends up not being very sophisticated and difficult to manage.
Hope it makes sense,
Best regards,
Antonio
Beta Was this translation helpful? Give feedback.
All reactions