Angular cli universal rendering
I followed this tutorial to generate universal bundle to my app.
I ended up with:
dist folder - the app production files
dist-server - the bundle I just created, has main.js
and styles.css
in it.
Previously, I was just uploading the dist folder to my web hosting provider directory and could view the app directly.
My question is - How I can apply the dist-server directory to pre-render my app and actually view the HTML when using "View Source"?
链接地址: http://www.djcxy.com/p/31352.html上一篇: 将Angular Universal集成到现有的CLI应用程序中
下一篇: 角度cli通用渲染