import 'amfe-flexible' import Vue from 'vue' import App from './App' import router from './router' import config from './config' config.VuePlugs.forEach(v => Vue.use(v)) config.NotVuePlugs.forEach(v => Vue.prototype[v.n] = v.v ) Vue.config.productionTip = false new Vue({ el: '#app', router, components: { App }, template: '' })