docs: update example references from "my-app" to "app-root" (#30789)
"app" is the default prefix for CLI projects when generating components. This updates our examples to conform that that default Closes #19778 PR Close #30789
This commit is contained in:
@ -10,7 +10,7 @@ class Hero {
|
||||
}
|
||||
|
||||
@Component({
|
||||
selector: 'my-app',
|
||||
selector: 'app-root',
|
||||
template: `
|
||||
<h1>{{title}}</h1>
|
||||
<pre>{{heroes | json}}</pre>
|
||||
|
Reference in New Issue
Block a user