Resolve code splitting issue
This commit is contained in:
2
resources/js/components/forms/index.js
vendored
2
resources/js/components/forms/index.js
vendored
@@ -32,7 +32,7 @@ import ToggleSwitchInput from './ToggleSwitchInput'
|
||||
ImageInput,
|
||||
RatingInput,
|
||||
FlatSelectInput,
|
||||
ToggleSwitchInput,
|
||||
ToggleSwitchInput
|
||||
].forEach(Component => {
|
||||
Vue.component(Component.name, Component)
|
||||
})
|
||||
|
||||
1
resources/js/components/index.js
vendored
1
resources/js/components/index.js
vendored
@@ -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'))
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user