cov-arcgis-esm

0.0.17 • Public • Published

cov-arcgis-esm

npm version build status

City of Vernonia widgets and friends for Esri JavaScript API in ESM.

Install

npm install cov-arcgis-esm --save

Usage

The Typescript modules in this package are intended to be used directly. No built modules are provided.

Include the src directory in tsconfig.json.

{
  "include": [
    "node_modules/cov-arcgis-esm/src/**/*"
  ]
}

Import the cov namespace as needed with import cov = __cov.

Add package alias to resolve in webpack.config.js.

const config = {
  resolve: {
    alias: {
      cov: path.resolve(__dirname, 'node_modules/cov-arcgis-esm/src/'),
    },
  },
};

Sass

Widget and layout styles are .scss files intended to be used with Sass. Most, if not all .scss files use variables in ~@arcgis/core/assets/esri/themes/base/color (or similar for other themes), and need to be imported after a @arcgis/core/ import containing the color variables.

Modules

View Models

Widgets

Layouts

Popups

Test

npm run test

Runs prettier, eslint, jest and complies the .ts(x) and .scss files.

Readme

Keywords

Package Sidebar

Install

npm i cov-arcgis-esm

Weekly Downloads

1

Version

0.0.17

License

MIT

Unpacked Size

359 kB

Total Files

128

Last publish

Collaborators

  • cov-gis