Build Angular Custom Element using Angular Elements with an Example
Follow Below Steps :
- Create a New Angular 6 Project : ng new project-name
- ng add @angular/elements
- Create a New Component for Custom Element : ng g c component-name
- configure that Component on app.module.ts using createCustomElement function of @angular/elements.
- Build a project
This are the basic steps, find more detail information on https://www.ngdevelop.tech/angular-elements
Official Site : https://www.ngdevelop.tech