gridjs-vue
Version:
A Vue.js wrapper component for Grid.js
22 lines (16 loc) • 366 B
text/typescript
import Grid from './gridjs-vue'
import install from './lib/install'
const plugin = {
install: install
}
let GlobalVue = null
if (typeof window !== 'undefined') {
GlobalVue = window.Vue
} else if (typeof global !== 'undefined') {
GlobalVue = global.Vue
}
if (GlobalVue) {
GlobalVue.use(plugin)
}
export { Grid, plugin as GridGlobal }
export default Grid