2
0
mirror of https://github.com/tenrok/vue-ganttastic.git synced 2026-06-11 21:42:24 +03:00
Files
vue-ganttastic/lib/index.js
T
2021-10-19 14:39:10 +03:00

20 lines
458 B
JavaScript

import GGanttChart from './components/GGanttChart.vue'
import GGanttRow from './components/GGanttRow.vue'
import './scss/vue-ganttastic.scss'
const VueGanttastic = { GGanttChart, GGanttRow }
const install = Vue => {
Object.keys(VueGanttastic).forEach(name => {
Vue.component(name, VueGanttastic[name])
})
}
if (typeof window !== 'undefined' && window.Vue) {
install(window.Vue)
}
export default VueGanttastic
export { GGanttChart, GGanttRow }