| 123456789101112131415161718192021222324252627282930313233343536373839 |
- // 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 constant from './utils/constant'
- import recheck from './utils/recheck'
- // import 'lib-flexible/flexible.js'
- import DatePicker from 'vue2-datepick'
- import vueHashCalendar from 'vue-hash-calendar'
- import 'vue-hash-calendar/lib/vue-hash-calendar.css'
- Vue.use(MintUI)
- Vue.component('v-chart', ECharts)
- Vue.use(DatePicker )
- Vue.use(vueHashCalendar)
- Vue.prototype.$api = api
- Vue.prototype.$datetime = datetime
- Vue.prototype.$const = constant
- Vue.prototype.$recheck = recheck
- Vue.config.productionTip = false
- /* eslint-disable no-new */
- new Vue({
- el: '#app',
- router,
- components: {
- App
- },
- template: '<App/>'
- })
|