Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mudin/vue-indoor

VueJS wrapper for indoorjs
https://github.com/mudin/vue-indoor

indoor-maps indoorjs vue vue-indoor

Last synced: about 2 months ago
JSON representation

VueJS wrapper for indoorjs

Awesome Lists containing this project

README

        

# vue-indoor


Downloads


Downloads


Version


License


Gitter

[![Coverage Status](https://coveralls.io/repos/github/mudin/vue-indoor/badge.svg?branch=master)](https://coveralls.io/github/mudin/vue-indoor?branch=master)

vue-indoor is a JavaScript library for the [Vue](https://vuejs.org/) framework that wraps [IndoorJS](http://indoorjsjs.com/) making it easy to create reactive indoor maps.

## How to install

```bash
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:

```javascript
import vue-indoor from 'vue-indoor' // INVALID
```

And has been replaced by

```javascript
import * as vue-indoor from 'vue-indoor' // VALID
```

Is highly suggested to import only the needed modules by doing so:

```javascript
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](https://github.com/mudin/vue-indoor/contributors)

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details