main.js
387 Bytes
import Vue from 'vue'
import App from './App.vue'
import components from '@c/index.js'
import axios from 'axios'
const domain = 'http://192.168.0.21:7002'
Array.prototype.max = function() {
return Math.max.apply({}, this)
}
Vue.prototype.axios = axios
Vue.prototype.domain = domain
Vue.config.productionTip = false
Vue.use(components)
new Vue({
render: h => h(App),
}).$mount('#app')