Skip to content

Commit

Permalink
webpack v4 import
Browse files Browse the repository at this point in the history
  • Loading branch information
ctf0 committed May 17, 2019
1 parent 14034ba commit b0d4577
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
5 changes: 3 additions & 2 deletions src/resources/assets/js/components/globalSearch/panel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,15 @@

<script>
import debounce from 'lodash/debounce'
import VueInputAutowidth from 'vue-input-autowidth'
import panels from '../../mixins/panels'
export default {
components: {
imageIntersect: require('./lazyLoading.vue')
imageIntersect: require('./lazyLoading.vue').default
},
directives: {
VueInputAutowidth: require('vue-input-autowidth')
VueInputAutowidth
},
mixins: [panels],
props: ['trans', 'fileTypeIs', 'noScroll', 'browserSupport'],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<script>
export default {
components: {
controls: require('./controls.vue')
controls: require('./controls.vue').default
},
props: [
'processing',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const defaults = {
export default {
components: {
controls: require('./controls.vue')
controls: require('./controls.vue').default
},
props: [
'cropper',
Expand Down
10 changes: 5 additions & 5 deletions src/resources/assets/js/components/imageEditor/main.vue
Original file line number Diff line number Diff line change
Expand Up @@ -141,11 +141,11 @@ import Cropper from 'cropperjs'
export default {
components: {
filters: require('./filters/index.vue'),
presets: require('./filters/presets.vue'),
controls: require('./controls.vue'),
// glitch: require('./glitch/index.vue'),
imageCompare: require('vue-image-compare2')
filters: require('./filters/index.vue').default,
presets: require('./filters/presets.vue').default,
controls: require('./controls.vue').default,
// glitch: require('./glitch/index.vue').default,
imageCompare: require('vue-image-compare2').default
},
props: [
'file',
Expand Down

0 comments on commit b0d4577

Please sign in to comment.