| | |
| | | import Vue from 'vue'; |
| | | import App from './App.vue'; |
| | | |
| | | import ElementUI from 'element-ui'; |
| | | //import HeatMap from 'heatmap.js-fixed'; |
| | | import 'element-ui/lib/theme-chalk/index.css'; |
| | | import "@/assets/css/element-variables.scss"; |
| | | |
| | | import App from './App.vue'; |
| | | import moment from "moment"; |
| | | Vue.prototype.$moment = moment; |
| | | |
| | | Vue.use(ElementUI) |
| | | |
| | | Vue.filter('moment', function (value, formatString) { |
| | | formatString = formatString || 'YYYY-MM-DD HH:mm:ss'; |
| | | return moment(value).format(formatString); |
| | | }); |
| | | |
| | | new Vue({ |
| | | el: '#app', |
| | | render: h => h(App) |