ArcGIS Hub Web Components
- Register a new application.
- copy the
<html>below into your existing website
<hub-follow-initiative clientid="[insert]" initiativeid="dda4e76677604838bf5718eda40b1cc0" orgurl="https://cityx.maps.arcgis.com"> </hub-follow-initiative>
<hub-event-details clientid="[insert your clientid here]" eventtitle="Project Groundbreaking" orgurl="https://cityx.maps.arcgis.com"> </hub-event-details>
Clone this repo to a new directory:
git clone https://github.com/esridc/hub-components.git cd hub-components
npm install && npm start
To build the component for production, run:
npm run build
To run the unit tests, run:
This is a starter project for building a standalone Web Component using Stencil. Stencil is a compiler for building fast web apps using Web Components.
Stencil combines the best concepts of the most popular frontend frameworks into a compile-time rather than run-time tool. Stencil takes TypeScript, JSX, a tiny virtual DOM layer, efficient one-way data binding, an asynchronous rendering pipeline (similar to React Fiber), and lazy-loading out of the box, and generates 100% standards-based Web Components.
Stencil components are just Web Components, so they work in any major framework or with no framework at all.
Need help? Check out the docs here.