Angular package built完畢
built輸出位于projects/core和dist/core文件夾下面:
storefrontlib build完畢:
organization/Administration/core built完畢:
總共花費(fèi)400秒
然后:Build your local Spartacus shell app by running the following command:
yarn build –prod
實(shí)際上執(zhí)行的命令是:
ng build storefrontapp –prod –prod
總共花費(fèi)215秒:
Build the SSR version of your shell app by running the following command:
yarn build:ssr
72秒結(jié)束:
最后一個(gè)步驟:
yarn serve:ssr
原來是用的node express server
上述內(nèi)容就是如何啟用SAP Spartacus服務(wù)器端渲染模式,你們學(xué)到知識(shí)或技能了嗎?如果還想學(xué)到更多技能或者豐富自己的知識(shí)儲(chǔ)備,歡迎關(guān)注資訊頻道。
更多關(guān)于云服務(wù)器,域名注冊,虛擬主機(jī)的問題,請?jiān)L問西部數(shù)碼官網(wǎng):m.ps-sw.cn