0

I am having problem while deploying my Angular2 Vs2015 application. I have created my application and deployed in Server. When i request for LogIn Page for the 1st time. its loading all node_modules and other files and taking nearly 2 mins to load application for the 1st time.

I would like to go with AoT(Angular2). But i did not find any articles or support for Bundling,Minification,Uglify etc and my application should load fast.

Vs2015, #Angular2.....

Reference : https://angular.io/docs/ts/latest/cookbook/aot-compiler.html and https://angular.io/docs/ts/latest/cookbook/visual-studio-2015.html

Community
  • 1
  • 1
  • angular-cli(built-in-webpack) + rollup + aot, these combination would do the trick.. refer this documentation link https://angular.io/docs/ts/latest/cookbook/aot-compiler.html – Pankaj Parkar Nov 19 '16 at 10:26
  • I have done this, but i am having problem while deployment. When i deploy it , it says 'Require' is undefined. – Srinivas Kothapalli Nov 19 '16 at 10:28
  • your question is totally contradicting with what you're saying now.. please update your question with correct information. – Pankaj Parkar Nov 19 '16 at 10:32
  • did you deploy angular2 Aot Compiled in IIS, if so please help me in deployment. If you have any other solution or suggestions always appreciated. – Srinivas Kothapalli Nov 19 '16 at 10:49
  • Sorry, I haven't deployed AOT version of application on IIS, I tried several things on local, and they got work as expected :) Can't suggest anything on deployment part :( – Pankaj Parkar Nov 19 '16 at 10:53

0 Answers0