| | |
| | | import Vue from 'vue' |
| | | |
| | | import Cookies from 'js-cookie' |
| | | |
| | | import './assets/style/index.css' |
| | | import 'normalize.css/normalize.css' // A modern alternative to CSS resets |
| | | import 'default-passive-events' |
| | | |
| | | import Element from 'element-ui' |
| | | import 'element-ui/lib/theme-chalk/index.css' |
| | | |
| | | import dataV from '@jiaminghi/data-view' |
| | | Vue.use(dataV) |
| | | |
| | | import echarts from 'echarts' |
| | | Vue.prototype.$echarts = echarts |
| | |
| | | size: Cookies.get('size') || 'medium' // set element-ui default size |
| | | }) |
| | | |
| | | //highcharts |
| | | import HighchartsVue from 'highcharts-vue' |
| | | |
| | | //接下来,您可以将其注册为 Vue 对象中的插件: |
| | | |
| | | Vue.use(HighchartsVue) |
| | | |
| | | |
| | | |
| | | // register global utility filters. |
| | | Object.keys(filters).forEach(key => { |
| | | Vue.filter(key, filters[key]) |