main.js
420 Bytes
import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import '@/utils/AntdUi'
import Axios from '@/utils/Axios'
import '@/assets/css/index.less'
Vue.config.productionTip = false
Vue.use({
install(vue) {
Object.assign(vue.prototype, {
$http: Axios,
$store: store
})
}
})
new Vue({
router,
store,
render: h => h(App)
}).$mount('#app')