You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(@schematics/angular): default component templates to not use .ng.html extension
To align with recent changes to the updated style guide, Angular v20 will now
generate component templates without a `.ng.html` file extension and instead use
the previous `.html` by default. The `--ng-html` option is still available for use if
the `.ng.html` extension is preferred in projects.
Copy file name to clipboardExpand all lines: packages/schematics/angular/component/schema.json
+2-2
Original file line number
Diff line number
Diff line change
@@ -137,8 +137,8 @@
137
137
},
138
138
"ngHtml": {
139
139
"type": "boolean",
140
-
"default": true,
141
-
"description": "Generate component template files with an '.ng.html' file extension instead of '.html'. The '.ng.html' file extension is recommended by the Angular style guide."
140
+
"default": false,
141
+
"description": "Generate component template files with an '.ng.html' file extension instead of '.html'."
0 commit comments