A Vue.js gauge panel to explore an ocean of viewports
npm install --save vue-viewport-manager
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
npm run dev
Launch the test
command, which will perform linting beforehand
npm run test
Launch the build
command, which will output a minified bundle in the dist
folder
npm run build
TODO