0.2.5 • Published 3 years ago

vue-viewport-manager v0.2.5

Weekly downloads
7
License
MIT
Repository
github
Last release
3 years ago

Vue viewport manager

vue2

A Vue.js gauge panel to explore an ocean of viewports

Installation

npm install --save vue-viewport-manager

Usage

Import vue-viewport-manager in your JS entry point and install it via Vue.use()

import Vue from 'vue'
import VueViewportManager from 'vue-viewport-manager'

Vue.use(VueViewportManager, {store})

The plugin needs your Vuex store instance to register its own (namespaced) module called vueViewportManager.

You can also override default options when installing it

Vue.use(VueViewportManager, {
  option: '...'
})

The plugin exposes a global mixin that allows one to access several viewport-related reactive variables, namely:

TODO: describe plugin functionalities

Development

Launch webpack dev server

npm run dev

Launch tests with Jest

Launch the test command, which will perform linting beforehand

npm run test

Build

Launch the build command, which will output a minified bundle in the dist folder

npm run build

Publishing

TODO

License

BSD