eos_vue_workday
Version:
A vue component to allow work day scheduling and appointment booking
21 lines (16 loc) • 501 B
JavaScript
import './src/main.scss'
import * as components from './src/components'
const EosVueWorkDay = {
install(Vue, options = {}) {
// components
for (const componentName in components) {
const component = components[componentName]
Vue.component(component.name, component)
}
}
}
if (typeof window !== 'undefined' && window.Vue) {
window.Vue.use(EosVueWorkDay)
}
// To allow use as module (npm/webpack/etc.) export component
export default EosVueWorkDay;