2.0 KiB
2.0 KiB

{{links}}
Angular Plugin for Nx
The Nx Plugin for Angular contains executors, generators, and utilities for managing Angular applications, and libraries within an Nx workspace. It provides:
- Integration with libraries such as Jest, Cypress, Karma, Protractor, and Storybook.
- Helper services, and functions to use along with NgRx libraries.
- Scaffolding for upgrading AngularJS applications.
- Scaffolding for creating buildable libraries that can be published to npm.
- Utilities for automatic workspace refactoring.
Adding the Angular plugin
Adding the Angular plugin to a workspace can be done with the following:
#yarn
yarn add @nrwl/angular
#npm
npm install @nrwl/angular
For more information about the @nrwl/angular package take a look at the Angular Plugin Overview.
{{what-is-nx}}
{{getting-started}}
✔ Workspace name (e.g., org name) · happyorg
✔ What to create in the new workspace · angular
✔ Application name · my app
✔ Default stylesheet format · css
Serving Application
- Run
nx serve myappto serve the newly generated application! - Run
nx test myappto test it. - Run
nx e2e myapp-e2eto run e2e tests for it.
You can also use ng instead of nx:
- Run
ng serve myappto serve the newly generated application! - Run
ng test myappto test it. - Run
ng e2e myapp-e2eto run e2e tests for it.
Quick Start Videos

{{resources}}