chore: fix quickstart
This commit is contained in:
parent
38fe94df81
commit
f823605a22
|
@ -1,12 +1,8 @@
|
|||
// #docregion
|
||||
import { NgModule } from '@angular/core';
|
||||
import { BrowserModule } from '@angular/platform-browser';
|
||||
import { AppComponent} from './app.component'
|
||||
|
||||
@NgModule({
|
||||
imports: [ BrowserModule ],
|
||||
declarations: [ AppComponent ],
|
||||
bootstrap: [ AppComponent ]
|
||||
imports: [ BrowserModule ]
|
||||
})
|
||||
|
||||
export class AppModule { }
|
|
@ -2,7 +2,12 @@
|
|||
import { NgModule } from '@angular/core';
|
||||
import { BrowserModule } from '@angular/platform-browser';
|
||||
|
||||
import { AppComponent } from './app.component';
|
||||
|
||||
@NgModule({
|
||||
imports: [ BrowserModule ]
|
||||
imports: [ BrowserModule ],
|
||||
declarations: [ AppComponent ],
|
||||
bootstrap: [ AppComponent ]
|
||||
})
|
||||
|
||||
export class AppModule { }
|
||||
|
|
|
@ -192,7 +192,7 @@ block install-packages
|
|||
|
||||
Create the file `app/app.module.ts` with the following content:
|
||||
|
||||
+makeExample('app/app.module.ts')(format='.')
|
||||
+makeExample('app/app.module.1.ts')(format='.')
|
||||
|
||||
:marked
|
||||
This is the entry point to your application.
|
||||
|
@ -255,7 +255,7 @@ p.
|
|||
Edit the file `app/app.module.ts` to import your new `AppComponent` and add it in the
|
||||
declarations and bootstrap fields in the `NgModule` decorator:
|
||||
|
||||
+makeExample('app/app.module2.ts', null, title='app/app.module.ts')
|
||||
+makeExample('app/app.module.ts', null, title='app/app.module.ts')
|
||||
|
||||
.l-main-section
|
||||
h1#main Step !{step++}: Start up your application
|
||||
|
|
Loading…
Reference in New Issue