docs: add missing command in `WebWorker` guide (#36397)

The command was accidentally removed in #36383

PR Close #36397
This commit is contained in:
George Kalpakas 2020-04-02 19:47:02 +03:00 committed by Kara Erickson
parent f40d51733a
commit 1b4df6484e
1 changed files with 2 additions and 0 deletions

View File

@ -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.
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.
- Configures your project to use web workers, if it isn't already.