Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import { API_URL } from '@/utils/constants'
import './assets'
const fontawesome = require('@fortawesome/vue-fontawesome')
library.add(faArrowLeft, faArrowRight, faChevronDown, faSearch, faPaperPlane)
Vue.use(VueAxios, axios)
Vue.use(Dialog)
Vue.use(Menu)
Vue.use(Toast)
Vue.use(ImageViewer)
Vue.use(Scrollbar)
Vue.axios.defaults.baseURL = API_URL.HTTP
Vue.axios.defaults.headers.post['Content-Type'] = 'application/json'
Vue.component('font-awesome-icon', fontawesome.FontAwesomeIcon)
Vue.config.productionTip = false
Vue.prototype.$blaze = blaze
moment.locale(navigator.language)
Vue.prototype.$moment = moment
Vue.prototype.$electron = electron
new Vue({
i18n,
router,
store,
render: h => h(App)
}).$mount('#app')