docs: update web-worker CLI commands to bash style (#38421)
With this change we update the CLI generate commands to be in bash style. PR Close #38421
This commit is contained in:
parent
d6d7caa2a8
commit
823dd5b341
|
@ -14,12 +14,16 @@ The CLI does not support running Angular itself in a web worker.
|
|||
|
||||
To add a web worker to an existing project, use the Angular CLI `ng generate` command.
|
||||
|
||||
`ng generate web-worker` *location*
|
||||
```bash
|
||||
ng generate web-worker <location>
|
||||
```
|
||||
|
||||
You can add a web worker anywhere in your application.
|
||||
For example, to add a web worker to the root component, `src/app/app.component.ts`, run the following command.
|
||||
|
||||
`ng generate web-worker app`
|
||||
```bash
|
||||
ng generate web-worker app
|
||||
```
|
||||
|
||||
The command performs the following actions.
|
||||
|
||||
|
|
Loading…
Reference in New Issue