mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-16 10:33:43 +08:00
To align with the updated style guide, Angular v20 will generate component templates with a `.ng.html` file extension instead of the previous `.html` by default. Projects will automatically use this new template extension. Projects can however opt-out of component generation using `.ng.html` by setting the `ngHtml` option to false for the component schematic. This can be done as a default in the `angular.json` or directly on the commandline via `--no-ng-html` when executing `ng generate`.