cli build for production and upload on shared server
I'm building an app using universal-cli for Angular 2 in order to have server rendered view.
Everything works well on localhost (I can see the source code), but when I try to build the project, I end up with two directories in dist folder (client and server) and no other files
Now the question is how I need to upload the project on a shared server and still have the server rendered?! source code.
Thank you.
链接地址: http://www.djcxy.com/p/31346.html上一篇: 如何构建Angular 2 Universal以进行生产
下一篇: cli生成并在共享服务器上上传