https://github.com/SAP/spartacus/issues/7993
https://github.com/SAP/spartacus/issues/10205
The angular 8 based file layout contains a dist folder with all the application build files in a subfolder. The SSR entry file (server.js) has been stored in the dist folder.
(note: the main.js in the test-app-server is an intermediate build file and not used in ccv2 build/deploy).
The difference in the angular 9 based applications is that the client rendering and server rendering are separated in two named folders.
在Angular 9里, server.ts和index.html分别位于不同的嵌套文件夹之下了。上图的main.js只是intermediate build file, ccv2的部署没有用到这个文件。
更多Jerry的原创文章,尽在:"汪子熙":
网友评论