Provides base classes and utilities for bootstrapping Angular applications, including module-based and standalone components, with configuration loading and environment management. It offers abstractions for common setup tasks, such as dynamic module federation and environment updates. This package simplifies the initialization process for Angular projects.
Add the package to your workspace:
Example :yarn add @rxap/ngx-bootstrapInstall peer dependencies:
Example :yarn add @angular/core @angular/platform-browser @angular/platform-browser-dynamic @rxap/config @rxap/environment ngx-logger Execute the init generator:
Example :yarn nx g @rxap/ngx-bootstrap:initModuleApplication lives in a secondary entry point, @rxap/ngx-bootstrap/module, instead of the
package root. This keeps @angular/platform-browser-dynamic (and therefore @angular/compiler) out
of the production bundle of consumers that only use StandaloneApplication.
Breaking change: ModuleApplication is no longer exported from @rxap/ngx-bootstrap. Consumers
importing it from the package root must switch to the subpath below.
import { ModuleApplication } from '@rxap/ngx-bootstrap/module';@angular/platform-browser-dynamic is an optional peer dependency — install it only if you import
from @rxap/ngx-bootstrap/module:
yarn add @angular/platform-browser-dynamicExample :Initialize the package in the workspace
nx g @rxap/ngx-bootstrap:init