// 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 'element-ui/lib/theme-chalk/index.css'; import Less from 'Less'; import { Tabs, TabPane,Icon,Loading ,MessageBox} from 'element-ui'; import {Toast } from 'vant'; import '@vant/touch-emulator'; import 'lib-flexible/flexible'; import axios from "axios"; // Vue.use(VideoPlayer) Vue.prototype.$axios = axios; Vue.config.productionTip = false Vue.use(Tabs); Vue.use(TabPane); Vue.use(Icon); Vue.use(Loading); MessageBox.install=(Vue)=>{ Vue.prototype.$alert=MessageBox.alert; Vue.prototype.$confirm=MessageBox.confirm; } Vue.use(MessageBox); Vue.use(Toast); axios.defaults.headers.post["Content-type"] = "application/json" /* eslint-disable no-new */ new Vue({ el: '#app', router, components: { App }, template: '' })