2022-09-20 19:59:52 +00:00
|
|
|
import './common'
|
|
|
|
import './forms'
|
|
|
|
|
|
|
|
import Vue from 'vue'
|
2023-01-21 11:57:37 +00:00
|
|
|
import Child from './Child.vue'
|
|
|
|
import Modal from './Modal.vue'
|
2022-09-20 19:59:52 +00:00
|
|
|
|
2023-01-21 11:57:37 +00:00
|
|
|
import Loader from './common/Loader.vue'
|
2022-09-20 19:59:52 +00:00
|
|
|
|
|
|
|
// Components that are registered globaly.
|
|
|
|
[
|
|
|
|
Child,
|
|
|
|
Modal,
|
|
|
|
Loader
|
|
|
|
].forEach(Component => {
|
|
|
|
Vue.component(Component.name, Component)
|
|
|
|
})
|
2022-12-14 09:27:21 +00:00
|
|
|
|
2022-12-15 15:59:53 +00:00
|
|
|
// Lazy load some heavy component
|
2023-01-21 11:57:37 +00:00
|
|
|
Vue.component('FormEditor', () => import('./open/forms/components/FormEditor.vue'))
|
|
|
|
Vue.component('NotionPage', () => import('./open/NotionPage.vue'))
|