https://github.com/tnicola/my-custom-element
A PoC for creating re-exportable, re-usable HTML elements via @angular/elements
https://github.com/tnicola/my-custom-element
angular angularelements micro-frontend web-elements
Last synced: 22 days ago
JSON representation
A PoC for creating re-exportable, re-usable HTML elements via @angular/elements
- Host: GitHub
- URL: https://github.com/tnicola/my-custom-element
- Owner: tnicola
- License: mit
- Created: 2018-08-19T15:03:55.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-08-19T16:31:48.000Z (almost 8 years ago)
- Last Synced: 2025-02-28T05:56:43.594Z (over 1 year ago)
- Topics: angular, angularelements, micro-frontend, web-elements
- Language: TypeScript
- Homepage:
- Size: 109 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MyCustomElement
## How to create re-exportable, re-usable HTML elements with @angular/elements
This project is a Proof of Concept for exportable @angular/elements. It generates a unique bundle (using ngx-build-plus) that contains the definition of two simple Angular components:
* ``
* ``
## Install
First of all install the dependencies
```
npm install
```
## Build
Then, build the app to obtain the `main.js` bundle in `dist/my-custom-element` folder.
```
npm run build
```