Resolve code splitting issue
This commit is contained in:
parent
2fee25a4d4
commit
9936cb3389
|
@ -32,7 +32,7 @@ import ToggleSwitchInput from './ToggleSwitchInput'
|
||||||
ImageInput,
|
ImageInput,
|
||||||
RatingInput,
|
RatingInput,
|
||||||
FlatSelectInput,
|
FlatSelectInput,
|
||||||
ToggleSwitchInput,
|
ToggleSwitchInput
|
||||||
].forEach(Component => {
|
].forEach(Component => {
|
||||||
Vue.component(Component.name, Component)
|
Vue.component(Component.name, Component)
|
||||||
})
|
})
|
||||||
|
|
|
@ -16,5 +16,6 @@ import Loader from './common/Loader'
|
||||||
Vue.component(Component.name, Component)
|
Vue.component(Component.name, Component)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
// Lazy load some heavy component
|
||||||
Vue.component('FormEditor', () => import('./open/forms/components/FormEditor'))
|
Vue.component('FormEditor', () => import('./open/forms/components/FormEditor'))
|
||||||
Vue.component('NotionPage', () => import('./open/NotionPage'))
|
Vue.component('NotionPage', () => import('./open/NotionPage'))
|
||||||
|
|
|
@ -361,11 +361,12 @@
|
||||||
<script>
|
<script>
|
||||||
|
|
||||||
import timezones from '../../../../../data/timezones.json'
|
import timezones from '../../../../../data/timezones.json'
|
||||||
|
import ProTag from "../../../common/ProTag"
|
||||||
const FormBlockLogicEditor = () => import('../components/form-logic-components/FormBlockLogicEditor')
|
const FormBlockLogicEditor = () => import('../components/form-logic-components/FormBlockLogicEditor')
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'FormFieldOptionsModal',
|
name: 'FormFieldOptionsModal',
|
||||||
components: { TextAreaInput, TextInput, ProTag, VButton, FormBlockLogicEditor },
|
components: { ProTag, FormBlockLogicEditor },
|
||||||
props: {
|
props: {
|
||||||
field: {
|
field: {
|
||||||
type: Object,
|
type: Object,
|
||||||
|
|
Loading…
Reference in New Issue