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
- Host: GitHub
- URL: https://github.com/xmlking/angular-elements-in-angular-shell
- Owner: xmlking
- Created: 2019-01-06T06:09:29.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-03-03T23:31:37.000Z (almost 3 years ago)
- Last Synced: 2024-05-01T20:21:58.945Z (over 1 year ago)
- Topics: angular, angular-elements, ngx-build-plus, nx, webcomponents
- Language: TypeScript
- Homepage:
- Size: 1.85 MB
- Stars: 4
- Watchers: 4
- Forks: 2
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
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