Just kick started with Angular 2.
What are the various Bootstrapping options in angular 2?
Why is that when I make a change and refresh the index.html takes little time to retrieve the HTML markups?
Differences between them
Just kick started with Angular 2.
What are the various Bootstrapping options in angular 2?
Why is that when I make a change and refresh the index.html takes little time to retrieve the HTML markups?
Differences between them
There are two options
Dynamic bootstrapping
main.ts contains the following
main.ts contains the following
Differences
In Angular there are two ways of compilation
I would like to add four major differences when it comes to JIT vs AOT compilation
By default, the following2 commands use JIT compilation
With either of these command we can use
- -aot
option to turn on AOTTo turn off ACT for the production build, set
- - aot
option tofalse