Skip to content

bbehling/leafletNgWebComponent

Repository files navigation

Leaflet Component

This project is an example of how to build a Leaflet web component using Angular Elements.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Production Test Server

Run npm run serve:elements to test component in production mode. Navigate to http://127.0.0.1:8080/runner.html.

Build

Run npm run build:elements to build the project. The build element artifacts will be stored in the elements/ directory.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

This project was generated with Angular CLI version 8.3.20.