Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ajturner authored Aug 3, 2023
1 parent cd0f302 commit b1150b1
Showing 1 changed file with 3 additions and 15 deletions.
18 changes: 3 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,6 @@
# ajturner-prototype-template
Template for creating prototypes with Stencil.js and Calcite compnents

## Steps to use

1. click "Use this Template" and "Create a new repository"
1. clone repo to your developer machine
1. find and replace the string `hub-compass-maps` with your project name, e.g. `hub-chatbot`
1. install dependencies `npm i`
1. copy Calcite assets `cp -r node_modules/@esri/calcite-components/dist/calcite/assets/* ./src/assets/`
1. create new components with `npx stencil g`
1. modify `src/index.html` for your component name and any props.
- the example `index.html` uses script to add component to DOM so you can pass complex objects and other dynamic props
1. run the server `npm run start`
# hub-radar-maps

Web components for Hub Radar chatbot, built with ArcGIS Maps SDK for

## Publish to Github Pages

Expand All @@ -23,4 +11,4 @@ When you are ready to create a Github Page (Github action already present) you n
1. in Github Repo UI, under **Settings > Pages** in _Build and Deployment > Branch_ choose _gh-pages_ and **Save**
1. Re-run the job.

The first push will fail because the _gh-pages_ branch does not exist until after you push.
The first push will fail because the _gh-pages_ branch does not exist until after you push.

0 comments on commit b1150b1

Please sign in to comment.