A Vue library for Apple Mapkit
> A Vue library for Apple Mapkit
`` bash`
npm install -S mapkit-vue
` js
import Vue from 'vue';
import MapkitVue from 'mapkit-vue';
Vue.use(MapkitVue, {
authorizationCallback (done) {
done('your-jwt-here')
}
});
`
Make sure all dependencies are installed:
` bash`
npm install
To run a documentation dev server:
` bash`
npm run docs:dev
To build documentation:
` bash`
npm run docs:build
To publish documentation to gh-pages:` bash`
npm run docs:publish
A sandboxed dev environment is provided by vue-play. Changes made to the component files will appear in real time in the sandbox.
To begin development, run:
` bash`
npm install
npm run dev
then navigate to http://localhost:5000
To modify and add sandbox scenarios, edit play/index.js`
This project is licensed under the MIT License - see the LICENSE.md file for details.