Is it possible we can hit Our rest APi while pre-render process is going on,
1) - Problem Statement - We have some resources i.e (Logo, Background Images, menu) that comes from server through REST API, while data is coming from server there resources are blank ,we are looking for pre-loaded resources from API while compiling, and the rest of the other API's will cal after render.
2)- How can we make production build i've use ng build --prod for production build but its now showing view source of production version.
Is it possible we can hit Our rest APi while pre-render process is going on,
1) - Problem Statement - We have some resources i.e (Logo, Background Images, menu) that comes from server through REST API, while data is coming from server there resources are blank ,we are looking for pre-loaded resources from API while compiling, and the rest of the other API's will cal after render.
2)- How can we make production build i've use ng build --prod for production build but its now showing view source of production version.
Please suggest solution-
Thanks in Advance