Home » Javascript » How to visually load main javascript app file?

How to visually load main javascript app file?

Posted by: admin August 19, 2018 Leave a comment

Questions:

So I wrote a fun little javascript app which is minified around 5MB. I included it in <script> tags within my root html file.

However, since it’s more then a few tenths of K I’d like to visualize loading this main js app file using a simple progress bar (i.e. like gmail does). I figured I’m not the only webapp builder that needs such thing. However, when googling for it my search results are quite polluted with bootstrap and “file-loaders” from various js bundler libraries.

What are libraries that load a single js file and allow me to write a simple progress bar of the loading process?

Answers: