Back to Nx

Web Worker Examples

packages/angular/docs/web-worker-examples.md

22.7.1241 B
Original Source

Examples

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