import 'amfe-flexible' import Vue from 'vue' import App from './App.vue' import router from './router' import store from './store' import config from './config'; // 配置vue插件 config.VuePlug.forEach((v)=> Vue.use(v)); config.CustomPlug.forEach((v) => Vue.prototype[v.n] = v.v); config.components.forEach(v => Vue.component(v.n, v.v)); Vue.config.productionTip = false new Vue({ router, store, render: h => h(App) }).$mount('#app')