An open API service indexing awesome lists of open source software.

https://github.com/xmlking/angular-elements-in-angular-shell

angular elements in nx workspace
https://github.com/xmlking/angular-elements-in-angular-shell

angular angular-elements ngx-build-plus nx webcomponents

Last synced: 5 months ago
JSON representation

angular elements in nx workspace

Awesome Lists containing this project

README

          

# 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
```bash
# 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
```bash
npm run server
```

### Test

Open http://localhost:4200/dashboard