// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import router from './router'
import MintUI from 'mint-ui'
import 'mint-ui/lib/style.css'
import App from './App'
import 'echarts'
import ECharts from 'vue-echarts'
import api from './api'
import datetime from './utils/datetime'
// import 'lib-flexible/flexible.js'

Vue.use(MintUI)
Vue.component('v-chart', ECharts)
Vue.prototype.$api = api
Vue.prototype.$datetime = datetime
Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: {
    App
  },
  template: '<App/>'
})
