vue-indoor
v2.0.1
Published
Vue IndoorJS library
Downloads
12
Readme
vue-indoor
vue-indoor is a JavaScript library for the Vue framework that wraps IndoorJS making it easy to create reactive indoor maps.
How to install
npm install vue-indoor indoorjs --save
Importing the library in Webpack / Rollup
Now the code of vue-indoor is split component by component (while using a bundler like Webpack/Rollup/Parcel) to do so the following syntax is not working anymore:
import vue-indoor from 'vue-indoor' // INVALID
And has been replaced by
import * as vue-indoor from 'vue-indoor' // VALID
Is highly suggested to import only the needed modules by doing so:
import * as Indoor from 'indoorjs';
import { IMap, IFloor, IMap } from 'vue-indoor';
This will reduce the size of the bundle significantly
Documentation
Coming soon
Authors
Mudin Ibrahim
Inspired by many map wrapper (google and leaflet) for many framework (React, Angular and Vue 1.0)
Contributors
Thanks goes to these wonderful people
License
This project is licensed under the MIT License - see the LICENSE file for details