docs: add missing command in `WebWorker` guide (#36397)
The command was accidentally removed in #36383 PR Close #36397
This commit is contained in:
parent
f40d51733a
commit
1b4df6484e
|
@ -19,6 +19,8 @@ To add a web worker to an existing project, use the Angular CLI `ng generate` co
|
||||||
You can add a web worker anywhere in your application.
|
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.
|
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`
|
||||||
|
|
||||||
The command performs the following actions.
|
The command performs the following actions.
|
||||||
|
|
||||||
- Configures your project to use web workers, if it isn't already.
|
- Configures your project to use web workers, if it isn't already.
|
||||||
|
|
Loading…
Reference in New Issue