Skip to content

Commit cc17ab5

Browse files
authored
fix: standalone component can be created (#510)
1 parent 3f808e1 commit cc17ab5

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

packages/schematics/component/schema.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ export interface Schema {
1212
export?: boolean;
1313
entryComponent?: boolean;
1414
type?: string;
15+
standalone?: boolean;
1516
}

packages/schematics/component/schema.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,11 @@
8585
"type": "string",
8686
"description": "Adds a developer-defined type to the filename, in the format \"name.type.ts\".",
8787
"default": "Component"
88+
},
89+
"standalone": {
90+
"type": "boolean",
91+
"description": "Specifies if the component should be standalone",
92+
"default": false
8893
}
8994
},
9095
"required": []

0 commit comments

Comments
 (0)