File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,16 @@ This is a demo repository for the blog post "How to Use Custom Schematics to Sup
15
15
16
16
## Test the ` Component ` Command
17
17
18
- - Run ` ng g ds-schematics:component --name=checkbox ` to generate a standalone checkbox component
18
+ - Run ` ng g ds-schematics:component --name=checkbox --standalone ` to generate a standalone checkbox component
19
+
20
+ ``` bash
21
+ CREATE src/app/checkbox/checkbox.component.scss (0 bytes)
22
+ CREATE src/app/checkbox/checkbox.component.html (0 bytes)
23
+ CREATE src/app/checkbox/checkbox.component.spec.ts (613 bytes)
24
+ CREATE src/app/checkbox/checkbox.component.ts (263 bytes)
25
+ ```
26
+
27
+ - Run ` ng g ds-schematics:component --name=checkbox ` to generate a component that is part of the AppModule
19
28
20
29
``` bash
21
30
CREATE src/app/checkbox/checkbox.component.scss (0 bytes)
@@ -28,7 +37,7 @@ UPDATE src/app/app.module.ts (484 bytes)
28
37
## Test the ` ng add ` Command
29
38
30
39
- Run ` ng g ds-schematics:ng-add `
31
- - This command updates the npm script ` test: jest ` and install Jest as dependency
40
+ - This command updates the npm script ` test: jest ` and install Jest as a dependency
32
41
33
42
## FAQ
34
43
You can’t perform that action at this time.
0 commit comments