current position:Home>SAP Spartacus server-side rendering step 2: execute application angular code on the server-side

SAP Spartacus server-side rendering step 2: execute application angular code on the server-side

2021-08-27 04:28:45 JerryWang_ Wang Zixi

above :SAP Spartacus One of the step-by-step debugging steps of server-side rendering : Application preparation

entrance :

Get into platform-server.js:

entrance :

Finally, it is executed on the server side bootstrap, Input Component by AppComponent:

These call stacks are the same as those executed on the client :

Once you enter this call , It indicates that the rendering of the server-side application is over :

html The variable contains the rendered HTML Source code :

First, return the rendered application source code to the browser :

If caching is enabled , Place render results in map in :

more Jerry The original article of , All in :" Wang Zixi ":

copyright notice
author[JerryWang_ Wang Zixi],Please bring the original link to reprint, thank you.
https://en.qdmana.com/2021/08/20210827042842737q.html

Random recommended