Files
ClassContent/历届学生/18课程/class18/项目/上课项目/vuecli2demo/src/main.js
2024-09-27 02:06:13 +08:00

20 lines
487 B
JavaScript

// 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 config from './config'
Vue.config.productionTip = false
config.NotVuePlugs.forEach(v=> Vue.prototype[v.n] = v.v)
config.VuePlugs.forEach(v=>Vue.use(v))
/* eslint-disable no-new */
new Vue({
el: '#app',
router,
components: { App },
template: '<App/>'
})