Skip to content

Commit cd24d71

Browse files
SkyZeroZxdgp1130
authored andcommitted
docs: update references from app.component to app to match the style guide
1 parent 6ca09c5 commit cd24d71

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/schematics/angular/application/schema.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@
2121
"x-prompt": "What name would you like to use for the application?"
2222
},
2323
"inlineStyle": {
24-
"description": "Include the styles for the root component directly within the `app.component.ts` file. Only CSS styles can be included inline. By default, a separate stylesheet file (e.g., `app.component.css`) is created.",
24+
"description": "Include the styles for the root component directly within the `app.ts` file. Only CSS styles can be included inline. By default, a separate stylesheet file (e.g., `app.css`) is created.",
2525
"type": "boolean",
2626
"alias": "s",
2727
"x-user-analytics": "ep.ng_inline_style"
2828
},
2929
"inlineTemplate": {
30-
"description": "Include the HTML template for the root component directly within the `app.component.ts` file. By default, a separate template file (e.g., `app.component.html`) is created.",
30+
"description": "Include the HTML template for the root component directly within the `app.ts` file. By default, a separate template file (e.g., `app.html`) is created.",
3131
"type": "boolean",
3232
"alias": "t",
3333
"x-user-analytics": "ep.ng_inline_template"

packages/schematics/angular/ng-new/schema.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,13 @@
5959
"default": "projects"
6060
},
6161
"inlineStyle": {
62-
"description": "Include the styles for the initial application's root component directly within the `app.component.ts` file. By default, a separate stylesheet file (e.g., `app.component.css`) is created.",
62+
"description": "Include the styles for the initial application's root component directly within the `app.ts` file. By default, a separate stylesheet file (e.g., `app.css`) is created.",
6363
"type": "boolean",
6464
"alias": "s",
6565
"x-user-analytics": "ep.ng_inline_style"
6666
},
6767
"inlineTemplate": {
68-
"description": "Include the HTML template for the initial application's root component directly within the `app.component.ts` file. By default, a separate template file (e.g., `app.component.html`) is created.",
68+
"description": "Include the HTML template for the initial application's root component directly within the `app.ts` file. By default, a separate template file (e.g., `app.html`) is created.",
6969
"type": "boolean",
7070
"alias": "t",
7171
"x-user-analytics": "ep.ng_inline_template"

0 commit comments

Comments
 (0)