Closed TheEpicFace007 closed 3 years ago
Set the "sdCard" option to true and it will generate you a file called static.bin instead of the StaticFiles.h. Copy this file to the SD card and use CardFiles example to serve your files.
Hope this helps. To be honest 12mb sound like a rather big single page app. How did it get so huge? Feel free to ask more questions if something is not clear.
To be honest 12mb sound like a rather big single page app
I am glad you asked! My web app is a virtual gamepad for a rc tank. I am going to publish it's source code once I am complete. I hope it's going to showcase well what can aWOT can do :)
here are some screenshots
Can you tell me what you think
Sounds nice and look cool! But I still wonder why it takes 12mb. This whole UI fits into ESP32 program memory: http://duinodcx.herokuapp.com/index.html.
It mostly take a lot of space because of the fonts it's using
and because of the images it use since it's also a pwa
Ahh ok. That explains it. Can we close the issue?
yes
You can also send me email if you want to discuss your project more.
My webapp that I created with create-react-app is too big (12 mb)