You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
682 B

import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import VueClipBoard from 'vue-clipboard2'
import axios from 'axios'
import VueTour from 'vue-tour'
require('vue-tour/dist/vue-tour.css')
Vue.use(VueTour)
Vue.config.productionTip = false
Vue.prototype.$axios = axios
// Vue.prototype.$bus = new Vue() // 安装事件总线方式一
Vue.use(ElementUI);
Vue.use(VueClipBoard);
new Vue({
beforeCreate() {
Vue.prototype.$bus = this // 安装事件总线方式二
},
router,
store,
render: h => h(App)
}).$mount('#app')