Build Angular Custom Element using Angular Elements with an Example
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
e2e
elements
src
.editorconfig
.gitignore
README.md
angular.json
element-build.js
package-lock.json
package.json
tsconfig.json
tslint.json

README.md

angular-elements

Build Angular Custom Element using Angular Elements with an Example

Follow Below Steps :

  1. Create a New Angular 6 Project : ng new project-name
  2. ng add @angular/elements
  3. Create a New Component for Custom Element : ng g c component-name
  4. configure that Component on app.module.ts using createCustomElement function of @angular/elements.
  5. 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