Skip to content

Repository files navigation

ngx-call

Angular workspace for ngx-call, an awaitable UI call helper for Angular components.

The demo app is a static landing page and live playground for the library.

Install

ngx-call is published to GitHub Packages as @design4pro/ngx-call:

npm install @design4pro/ngx-call

Development server

The demo imports ngx-call from dist/ngx-call, so build the library before serving a fresh checkout:

npx ng build ngx-call

For active demo work, keep the library build running in watch mode:

npx ng build ngx-call --configuration development --watch

In another terminal, start the demo development server:

npm start -- --project demo

Once the server is running, open your browser and navigate to http://localhost:4200/. The application will automatically reload whenever you modify any of the source files.

Demo build

Build the production demo:

npx ng build demo --configuration production

The static output is written to dist/demo/browser.

For GitHub Pages, build with the repository base path:

npx ng build demo --configuration production --base-href "/<repository-name>/"

GitHub Pages

The repository includes .github/workflows/deploy-pages.yml. To publish:

  1. In GitHub, set Settings → Pages → Source to GitHub Actions.
  2. Push to main or run the workflow manually.
  3. The workflow installs dependencies, builds ngx-call, builds demo, uploads dist/demo/browser, and deploys it to Pages.

Library build

To build the package library run:

ng build

This will compile your project and store the build artifacts in the dist/ directory. By default, the production build optimizes your application for performance and speed.

Running unit tests

To execute unit tests with the Vitest test runner, use the following command:

ng test

Additional Resources

For more information on using the Angular CLI, including detailed command references, visit the Angular CLI Overview and Command Reference page.

About

Call & Await Angular Components

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages