Skip to content

xmlking/angular-elements-in-angular-shell

Repository files navigation

Angular-Elements-in-Angular-Shell

Showcase how to build Web Components using Angular Elements, and
use multiple pre-build Angular Web Components in Angular Shell App.

Build

# build script used by `ngx-build-plus` via `configHook` in `angular.json` (one time only)
npm run tsc -- -p tools/tsconfig.tools.json
# build micro-apps before building webapp
ng build chat-app --prod
# build shell webapp
ng build webapp --prod

Run

run sever with prod build

npm run server

Test

Open http://localhost:4200/dashboard