mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
committed by
Matias Niemelä
parent
761bb0aafd
commit
8e57965e3c
@@ -267,7 +267,7 @@ Use the CLI to create the `MessagesComponent`.
|
||||
ng generate component messages
|
||||
</code-example>
|
||||
|
||||
The CLI creates the component files in the `src/app/messages` folder and declare `MessagesComponent` in `AppModule`.
|
||||
The CLI creates the component files in the `src/app/messages` folder and declares the `MessagesComponent` in `AppModule`.
|
||||
|
||||
Modify the `AppComponent` template to display the generated `MessagesComponent`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user