From 1b4df6484e7681095d136e99235e2bbcd87fbe49 Mon Sep 17 00:00:00 2001 From: George Kalpakas Date: Thu, 2 Apr 2020 19:47:02 +0300 Subject: [PATCH] docs: add missing command in `WebWorker` guide (#36397) The command was accidentally removed in #36383 PR Close #36397 --- aio/content/guide/web-worker.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/aio/content/guide/web-worker.md b/aio/content/guide/web-worker.md index 2b62794139..cdf2dd8a8e 100644 --- a/aio/content/guide/web-worker.md +++ b/aio/content/guide/web-worker.md @@ -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.