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