This repo demonstrates using @arcgis/core ES modules with reveal.js
.
reveal.js is an open source HTML presentation framework.
CIM Symbology Dev Presentation
Clone this repository to your machine.
$ git clone https://github.com/JonnyDawe/ArcGIS-Slides
Navigate to the root folder and install dependencies.
$ npm install
Start the local development server to see the CIM presentation sample in action.
$ npm run start
- Slides are written as markdown inside of
presentation.md
and translated into HTML via markdown.js plugin - Interactive ArcGIS Map Snippets are embedded via iframes. The the
data-src
attribute is used to point the iframe to the correct code snippet to load in from./snippets
.
<!-- This loads the cim-points.ts file into the iframe -->
<iframe id="frame-cim-points" data-src="./snippet.html?cim-points"></iframe>
- commits to the branch are prettified via pretty-quick
This project was heavily inspired and adapted from this repo created by jkieboom for the 2017 Esri Dev Summit. It has been adapted to use @arcgis/core ES Modules and webpack.