Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import http from '@/utils/http/index'
import * as hooks from './hooks'
// font-awesome 5.x
import { library } from '@fortawesome/fontawesome-svg-core'
import { fas } from '@fortawesome/free-solid-svg-icons'
import { fab } from '@fortawesome/free-brands-svg-icons'
import { far } from '@fortawesome/free-regular-svg-icons'
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'
library.add(fas)
library.add(fab)
library.add(far)
FontAwesomeIcon.props.fixedWidth.default = true
Vue.component('fa-icon', FontAwesomeIcon)
Vue.use(vDialog)
Vue.use(vTableGrid, hooks.gridConfig)
Vue.use(vPage)
Vue.use(vUploader, hooks.uploaderConfig)
Vue.use(vRegion)
Vue.use(vSelectMenu, {
// title: false
})
Vue.use(vSelectPage, {
dataLoad: hooks.gridConfig.dataLoad,
language: 'en'
})
// Vue.use(vTree);