/*                Packages                */
window.EventHub = require('vuemit')
Vue.use(require('vue-tippy'), {
    arrow: true,
    touchHold: true,
    inertia: true,
    performance: true,
    flipDuration: 0,
    popperOptions: {
        modifiers: {
            preventOverflow: {
                enabled: false
            },
            hide: {
                enabled: false
            }
        }
    }
})
require('vue-multi-ref')

// icons
import 'vue-awesome/icons/search'
import 'vue-awesome/icons/times'
import 'vue-awesome/icons/pencil'
Vue.component('icon', require('vue-awesome/components/Icon'))

// table sort
window.ListJS = require('list.js')

// axios
window.axios = require('axios')
axios.defaults.headers.common = {
    'X-CSRF-TOKEN': document.querySelector('meta[name="csrf-token"]').getAttribute('content'),
    'X-Requested-With': 'XMLHttpRequest'
}
axios.interceptors.response.use(
    (response) => response,
    (error) => Promise.reject(error.response)
)

/*                Component                */
Vue.component('SmPage', require('./page.vue'))
Vue.component('SmMenu', require('./menu.vue'))
Vue.component('SmIndex', require('./index.vue'))
Vue.component('MyNotification', require('vue-notif'))

@@ -606,16 +606,24 @@
 s/Icon')
+.default
 )%0A%0A// ta
@@ -1077,24 +1077,32 @@
 ./page.vue')
+.default
 )%0AVue.compon
@@ -1132,24 +1132,32 @@
 ./menu.vue')
+.default
 )%0AVue.compon
@@ -1193,16 +1193,24 @@
 ex.vue')
+.default
 )%0AVue.co
@@ -1255,10 +1255,18 @@
 -notif')
+.default
 )%0A

support webpack v4 dynamic imports