FountainJS / generator-fountain-angular2

Yeoman 'fountain' generator to start a webapp with Angular 2
http://fountainjs.io
MIT License
82 stars 19 forks source link

Feature Request : Support for Ahead of Time Compilation and Server Side Rendering #101

Closed RohitRane closed 7 years ago

RohitRane commented 7 years ago

Description

It would be very helpful if you support Ahead of Time compilation in your scaffolding as additional feature. There are no good material for AoT integration with webpack application.

I have noticed that a lot of time is lost in rendering the first view with Just in Time compilation due to the template compilation.

This becomes a hindrance if you are developing

  1. an E-commerce or
  2. Mobile Web Application with Angular
  3. Popping a view in a separate new tab.

Do you have any plans to implement this in future?

Relevant Links

AoT : https://angular.io/docs/ts/latest/cookbook/aot-compiler.html Angular Universal : https://universal.angular.io

Swiip commented 7 years ago

Closing as duplicate for https://github.com/FountainJS/generator-fountain-webapp/issues/167