vue-indoor is a JavaScript library for the Vue framework that wraps IndoorJS making it easy to create reactive indoor maps.
npm install vue-indoor indoorjs --save
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
Coming soon
Mudin Ibrahim
Inspired by many map wrapper (google and leaflet) for many framework (React, Angular and Vue 1.0)
Thanks goes to these wonderful people
This project is licensed under the MIT License - see the LICENSE file for details