angular-frontend-app
No description available.
File Explorer
- app.e2e-spec.ts
- app.po.ts
- protractor.conf.js
- tsconfig.json
- edit-persons.component.css
- edit-persons.component.html
- edit-persons.component.spec.ts
- edit-persons.component.ts
- person.spec.ts
- person.ts
- error.component.css
- error.component.html
- error.component.spec.ts
- error.component.ts
- footer.component.css
- footer.component.html
- footer.component.spec.ts
- footer.component.ts
- list-persons.component.css
- list-persons.component.html
- list-persons.component.spec.ts
- list-persons.component.ts
- login.component.css
- login.component.html
- login.component.spec.ts
- login.component.ts
- menu.component.css
- menu.component.html
- menu.component.spec.ts
- menu.component.ts
- person.service.spec.ts
- person.service.ts
- route-guard.service.spec.ts
- route-guard.service.ts
- welcome.component.css
- welcome.component.html
- welcome.component.spec.ts
- welcome.component.ts
- app-routing.module.ts
- app.component.css
- app.component.html
- app.component.spec.ts
- app.component.ts
- app.module.ts
- .gitkeep
- environment.prod.ts
- environment.ts
- favicon.ico
- index.html
- main.ts
- polyfills.ts
- styles.css
- test.ts
- .editorconfig
- .gitignore
- angular.json
- browserslist
- karma.conf.js
- package-lock.json
- package.json
- README.md
- tsconfig.app.json
- tsconfig.json
- tsconfig.spec.json
- tslint.json
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
ng build
View Details ▼
ng build
Compile an Angular application or library into an output directory named `dist/`.
ng {{[b|build]}}
Build an Angular application or library:
ng {{[b|build]}} --output-path {{path/to/directory}}
Specify the output path relative to the workspace root:
ng {{[b|build]}} --aot
Enable Ahead-of-Time (AOT) compilation:
ng e2e
View Details ▼
ng e2e
Build and serve an Angular application, then run end-to-end tests.
Note: Available `e2e` packages include Playwright, Cypress, Nightwatch, WebdriverIO, and Puppeteer.
ng {{[e|e2e]}}
Run end-to-end tests:
ng {{[e|e2e]}} {{[-c|--configuration]}} {{development|production|...}}
Run end-to-end tests using a specific configuration:
ng generate
View Details ▼
ng generate
Generate and/or modify files based on a schematic.
ng {{[g|generate]}} ai-config
Generate AI configuration files for Angular project:
ng {{[g|generate]}} {{[s|service]}} {{service_name}}
Create a new service:
ng {{[g|generate]}} {{[app|application]}} {{app_name}}
Generate a new application within the workspace:
ng serve
View Details ▼
ng serve
Build and serve the application, rebuilding on file changes.
ng {{[s|serve]}}
Start the application:
ng {{[s|serve]}} {{[-o|--open]}}
Start the application and open it in a browser:
ng {{[s|serve]}} --port 4201
Start the application on port `4201`:
ng test
View Details ▼
ng test
Run unit tests in a project.
Note: Some commands might require additional packages such as Vitest.
ng {{[t|test]}}
Run unit tests:
ng {{[t|test]}} {{[-c|--configuration]}} {{development|production|...}}
Run unit tests using a specific configuration:
ng {{[t|test]}} --browsers {{firefox|webkit|chromium}}
Specify the browsers to use for test execution:
