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.
ngx-call is published to GitHub Packages as @design4pro/ngx-call:
npm install @design4pro/ngx-callThe demo imports ngx-call from dist/ngx-call, so build the library before serving a
fresh checkout:
npx ng build ngx-callFor active demo work, keep the library build running in watch mode:
npx ng build ngx-call --configuration development --watchIn another terminal, start the demo development server:
npm start -- --project demoOnce 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.
Build the production demo:
npx ng build demo --configuration productionThe 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>/"The repository includes .github/workflows/deploy-pages.yml. To publish:
- In GitHub, set Settings → Pages → Source to GitHub Actions.
- Push to
mainor run the workflow manually. - The workflow installs dependencies, builds
ngx-call, buildsdemo, uploadsdist/demo/browser, and deploys it to Pages.
To build the package library run:
ng buildThis 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.
To execute unit tests with the Vitest test runner, use the following command:
ng testFor more information on using the Angular CLI, including detailed command references, visit the Angular CLI Overview and Command Reference page.