Skip to content

This project shows a Angular component that can be used as a web component in a plain html website

Notifications You must be signed in to change notification settings

TheSlimvReal/angular-elements-example

Repository files navigation

AngularElementsTest

This project shows, how you can create, compile and use a Angular component as a web component, wherever you want.

Development

For more information about the code, checkout the whole documentation in the file angular-elements-guide.md.

Run

Install http-server

npm install -g http-server

Open terminal in the ./elements folder and type

http-server

The output of this command will show you on which ip/port the server is running locally.

Build

To compile the Angular project and regenerate the angular-elements-test.js, enter

npm run build:elements

More information

This code is based on a tutorial by Sebastian Eschweiler - Angular Elements — A Practical Introduction To Web Components With Angular 6

About

This project shows a Angular component that can be used as a web component in a plain html website

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published