import 'babel-polyfill' import Vue from 'vue' import App from './App' import router from './router' import store from './vuex/store' import '@css/reset.css' import '@css/layout.styl' // import '@js/rem.js' import filter from '@js/filter.js' import { Dialog, toast } from '@js/mUtils.js' import {post} from '@js/http.js' import * as echarts from 'echarts' import VueParticles from 'vue-particles' import scroll from 'vue-seamless-scroll' for (let k in filter) { Vue.filter(k, filter[k]) } Vue.prototype.$echarts = echarts Vue.prototype.Dialog = Dialog Vue.prototype.toast = toast Vue.prototype.$post = post Vue.use(VueParticles) Vue.use(scroll) Vue.config.productionTip = false /* eslint-disable no-new */ new Vue({ el: '#app', router, store, components: { App }, template: '' })