Dzeneralen / esri-stencil-example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Esri Stencil example application

Stencil is a compiler for building fast web apps using Web Components. This app shows how to integrate the ArcGIS API for JavaScript into a Stencil component.

Stencil components are just Web Components, so they work in any major framework or with no framework at all. In many cases, Stencil can be used as a drop in replacement for traditional frontend frameworks given the capabilities now available in the browser, though using it as such is certainly not required.

Image of application

Getting Started

To start a the application in development mode run:

npm install
npm start

To view the build, start an HTTP server inside of the /www directory.

To build the app for production, run:

npm run build

To run the unit tests once, run:

npm test

To run the unit tests and watch for file changes during development, run:

npm run test.watch

About

License:MIT License


Languages

Language:TypeScript 65.1%Language:CSS 22.9%Language:HTML 12.0%