mirror of
https://github.com/tenrok/vue-cron-editor-bootstrap.git
synced 2026-06-11 18:12:27 +03:00
16 lines
417 B
TypeScript
16 lines
417 B
TypeScript
import { VueConstructor, PluginObject } from 'vue'
|
|
import VueCronEditor from './components/VueCronEditor.vue'
|
|
|
|
const components: { [key: string]: VueConstructor } = { VueCronEditor }
|
|
|
|
const VueCronEditorPlugin: PluginObject<any> = {
|
|
install(Vue) {
|
|
for (const key in components) {
|
|
Vue.component(key, components[key])
|
|
}
|
|
},
|
|
}
|
|
|
|
export default VueCronEditor
|
|
export { VueCronEditor, VueCronEditorPlugin }
|