Resolve code splitting issue

This commit is contained in:
Julien Nahum 2022-12-15 16:59:53 +01:00
parent 2fee25a4d4
commit 9936cb3389
3 changed files with 4 additions and 2 deletions

View File

@ -32,7 +32,7 @@ import ToggleSwitchInput from './ToggleSwitchInput'
ImageInput,
RatingInput,
FlatSelectInput,
ToggleSwitchInput,
ToggleSwitchInput
].forEach(Component => {
Vue.component(Component.name, Component)
})

View File

@ -16,5 +16,6 @@ import Loader from './common/Loader'
Vue.component(Component.name, Component)
})
// Lazy load some heavy component
Vue.component('FormEditor', () => import('./open/forms/components/FormEditor'))
Vue.component('NotionPage', () => import('./open/NotionPage'))

View File

@ -361,11 +361,12 @@
<script>
import timezones from '../../../../../data/timezones.json'
import ProTag from "../../../common/ProTag"
const FormBlockLogicEditor = () => import('../components/form-logic-components/FormBlockLogicEditor')
export default {
name: 'FormFieldOptionsModal',
components: { TextAreaInput, TextInput, ProTag, VButton, FormBlockLogicEditor },
components: { ProTag, FormBlockLogicEditor },
props: {
field: {
type: Object,