Skip to content

Example application

projects/example is the reference implementation in this monorepo. Use it to see how omega-setup.ts, flows, agents, behaviors, and the router bridge fit together.

What it demonstrates

AreaLocation / notes
Bootstrapsrc/app/omega-setup.tscreateFlows, createAgents, bootstrap (switchTo('auth')), provideOmegaNavigationBridge.
Authauth/omega/AuthFlow, behaviors, createAuthAgent, wire constants; authGuard, homePageResolver.
NavigationSubscribes to NAVIGATOR_EVENT and calls Router.navigateByUrl.
Other featurescliente, pedidos, factura — list-style examples from ng generate omega-angular:feature.

Commands

From the repository root:

bash
npm install
npm run start
  • npm run startng serve example (dev server).
  • npm run build — production build of the example app.

This matches the eslint-then pipeline you get after ng add omega-angular in a fresh project.

Omega Angular — by Yeferson Segura. Documentation for the npm package and this repository.