// 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 store from './store/store' import './mock/mock' require ('./styles/reset.css')/*引入重置样式*/ // import '@/styles/mixin.scss'/*引入公共样式*/ import * as filters from './filters/filters' import util from './utils/formatNum' Vue.prototype.$util = util import _global from './api/variables' Vue.prototype.GLOBAL = _global Object.keys(filters).forEach(key => { Vue.filter(key, filters[key]) }) //... Vue.config.productionTip = false /* eslint-disable no-new */ new Vue({ el: '#app', store, components: { App }, template: '' })