-
Notifications
You must be signed in to change notification settings - Fork 12k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(@schematics/angular): remove CommonModule import from standalone …
…components `ng g c` no longer generates a component with the `CommonModule` import. This import is not useful if developers adopt the control flow syntax in their templates. Instead, developers are encouraged to import the individual directives/pipes if needed. (cherry picked from commit 571722d)
- Loading branch information
1 parent
7747495
commit 7a28230
Showing
2 changed files
with
2 additions
and
5 deletions.
There are no files selected for viewing
5 changes: 2 additions & 3 deletions
5
...ponent/files/__name@dasherize@if-flat__/__name@dasherize__.__type@dasherize__.ts.template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters