Skip to content

Commit

Permalink
feat(schematics): change standalone default to true for components (#…
Browse files Browse the repository at this point in the history
…4569)

BREAKING CHANGES:

The default setting for generating components using schematics is updated.

BEFORE:

The default setting for generating components using schematics does not use standalone components.

AFTER:

The default setting for generating components using schematics uses standalone components.
  • Loading branch information
tanmaytare authored Nov 12, 2024
1 parent 361bae6 commit c7d0ce6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/schematics/src/container/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@
},
"standalone": {
"description": "Whether the generated component is standalone.",
"type": "boolean"
"type": "boolean",
"default": true
},
"displayBlock": {
"description": "Specifies if the style will contain :host { display: block; }.",
Expand Down

0 comments on commit c7d0ce6

Please sign in to comment.