A component library for @esri/cedar written in Stencil.js
npm install esri-cedar-components
A component library for @esri/cedar) written in Stencil.js intended to replace ember-cli-cedar.
First you must load the library into your application. You have two options
You can load the library from a CDN via a script tag.
- Put a script tag similar to this in the head of your index.html
``bash`
npm install --save esri-cedar-components
`jsesri-cedar-components
// app.js
import esri-cedar-chart from `
Once you hvae loaded the library, you can use the component anywhere in your application, for example in JSX:
`jsx`
>
See the component documentation for details on the supported props and events.
To run the local development server, clone this repo and run:
`bash`
npm install
npm start
To build the component for production, run:
`bash`
npm run build
To run the unit tests for the components, run:
`bash``
npm test
Need help? Check out our docs here.