我在部署Angular2 Vs2015应用程序时遇到问题。我已经创建了我的应用程序并部署在服务器中。当我第一次请求登录页面时。它加载所有node_modules和其他文件,第一次加载应用程序需要近 2 分钟。
我想选择AoT(Angular2)。但是我没有找到任何关于Bundling、Minification、Uglify等的文章或支持,我的应用程序应该可以快速加载。
VS2015,#Angular2 .....
参考: https ://angular.io/docs/ts/latest/cookbook/aot-compiler.html 和https://angular.io/docs/ts/latest/cookbook/visual-studio-2015.html