Source repository of maptalks.js's examples.
.
|- assets/ # assets, CSS/images
|- build/examples.json # examples index json file
|- dist/ # distribution folder, root for gh-pages branch
|- layouts/ # templates
|- locales/ # i18n configs
|- src/ # examples sources
- At root directory
npm install
- run
gulp
- copy
assets
todist/
- Compile sources in
src
, generate html files todist
- Start gulp-connet on port 20001, begin to watch file changes to rebuild
- Open the browser at
- english : http://localhost:20001/examples/en/
- chinese: http://localhost:20001/examples/cn/
Sources files are stored in master
branch. Once master
branch is updated with new commits, examples will be compiled and published to gh-pages
branch automatically.
Any form of contribution is warmly welcomed any time, please submit your pull request to master
branch (NOT gh-pages
branch).