docs: change in(what should I import? answer) NgModule FAQs (#27677)
I think only should be after BrowserModule , because we can import more than BrowserModule and I think we need to import other modules to AppModule in most of cases and we should import BrowserModule only in AppModule,so that thing seems okay. PR Close #27677
This commit is contained in:
parent
4bb5f638bc
commit
1ec01d6758
|
@ -95,7 +95,7 @@ if your components have `[(ngModel)]` two-way binding expressions.
|
||||||
Import _shared_ and _feature_ modules when this module's components incorporate their
|
Import _shared_ and _feature_ modules when this module's components incorporate their
|
||||||
components, directives, and pipes.
|
components, directives, and pipes.
|
||||||
|
|
||||||
Import only [BrowserModule](guide/ngmodule-faq#q-browser-vs-common-module) in the root `AppModule`.
|
Import [BrowserModule](guide/ngmodule-faq#q-browser-vs-common-module) only in the root `AppModule`.
|
||||||
|
|
||||||
<hr/>
|
<hr/>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue