An Aurelia plugin for LeafletJS.
src
this is where your.ts
files go. They get compiled into the respectivedist
folders for each module type.dist
automatically transpiled/generated modules go in here, don't edit anything here.styles
the root styles directory is where your styles go. These are then put into thedist
folder so your modules can include/reference any styles.
- Multiple module formats: commonjs, es2015, system and amd.
- Write plugins in TypeScript
- Definition files automatically generated using the TypeScript native compiler
- Implement testing
- Implement better linting
- Better definition generation and singular index.js export strategy
This plugin is originally based on https://github.com/benib/aurelia-leaflet js code that uses JSPM and is written in javascript. The typescript aurelia plugin template (https://github.com/Vheissu/aurelia-typescript-plugin) was used as a basis for this repository.
This plugin skeleton exports an AMD module format which works with Aurelia CLI > v0.30.x.
"dependencies": [
{
"name": "aurelia-leaflet-plugin",
"path": "../node_modules/aurelia-leaflet-plugin/dist/amd",
"main": "index",
"resources": [
"**/*.html",
"**/*.css"
]
}
]