## Examples

{% tabs %}

{% tab label="Simple Usage" %}

The basic usage of the `web-worker` generator is defined below. You must provide a name for the web worker and the project to assign it to.

```bash
nx g @nx/angular:web-worker myWebWorker --project=myapp
```

{% /tab %}

{% /tabs %}
