Is there a way to show a LoadingSpinner while the final application is loading?

Related
https://panel.holoviz.org/user_guide/Deploy_and_Export.html#pn-state-onload
https://panel.holoviz.org/gallery/simple/defer_data_load.html