Skip to content

Instantly share code, notes, and snippets.

@Kaperskyguru
Created July 20, 2020 12:14
Show Gist options
  • Save Kaperskyguru/0eb2f2a2f32b42adfba7e95e804eec4c to your computer and use it in GitHub Desktop.
Save Kaperskyguru/0eb2f2a2f32b42adfba7e95e804eec4c to your computer and use it in GitHub Desktop.
import Vue from "vue";
import App from "./App.vue";
import { ErrorService } from "./Services/ErrorService";
import store from "./store";
Vue.config.productionTip = false;
// Handle all Vue errors
Vue.config.errorHandler = (error) => ErrorService.onError(error);
new Vue({
store,
render: (h) => h(App),
}).$mount("#app");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment