Skip to content

Commit c95c3ac

Browse files
author
Stephanie Zeng
committed
Update README
1 parent 15b4d3c commit c95c3ac

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

README.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,16 @@ This is a demo repository for the blog post "How to Use Custom Schematics to Sup
1515

1616
## Test the `Component` Command
1717

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
1928

2029
```bash
2130
CREATE src/app/checkbox/checkbox.component.scss (0 bytes)
@@ -28,7 +37,7 @@ UPDATE src/app/app.module.ts (484 bytes)
2837
## Test the `ng add` Command
2938

3039
- 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
3241

3342
## FAQ
3443

0 commit comments

Comments
 (0)