Angular 2: Difference between revisions

Jump to navigation Jump to search
revision on headers
Line 1: Line 1:
= Notes from Quickstart tutorial from the angular site =
= Notes from Quickstart tutorial from the angular site =
Notes are from https://angular.io/docs/ts/latest/quickstart.html (accessed 6/30/2016)
* Component
**  '''root component''' is required. Conventionally, it's named <span class="package">AppComponent</span>.
** component controls a portion of the screen - a ''view'' - through its template.
** essential structure
*** one or more <code>import</code> statements
*** <code>@Component</code> decorator
*** component ''class'' that controls the appearance and behavior


= npm lite-server related =
= npm lite-server related =

Navigation menu