main.js 245 B

123456789101112
  1. import Vue from 'vue';
  2. import App from './index';
  3. // add this to handle exception
  4. // Vue.config.errorHandler = function (err) {
  5. // if (console && console.error) {
  6. // console.error(err)
  7. // }
  8. // }
  9. const app = new Vue(App);
  10. app.$mount();