// 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 App from './App' import router from './router' import store from './vuex/store' import '@style/reset.css' import '@style/layout.styl' import fastClick from 'fastclick' import { DatePicker } from 'element-ui' import '@config/rem.js' import {post} from '@config/http.js' import { Dialog, toast } from '@config/utils.js' fastClick.attach(document.body) Vue.use(DatePicker) Vue.prototype.$post = post Vue.prototype.Dialog = Dialog Vue.prototype.toast = toast Vue.config.productionTip = false /* eslint-disable no-new */ new Vue({ el: '#app', router, store, components: { App }, template: '' })