main.js 226 Bytes
Newer Older
程默 committed
1 2 3 4 5 6 7 8 9 10 11 12
import Vue from 'vue'
import App from './index'

// add this to handle exception
Vue.config.errorHandler = function (err) {
  if (console && console.error) {
    console.error(err)
  }
}

const app = new Vue(App)
app.$mount()