zhangxiaoxu123
2023-07-06 b3aaeffd19122233004b65a9d715baebfb278a72
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
import Vue from 'vue'
import App from './App'
import { router } from './router'
import Antd from "ant-design-vue/es";
import "ant-design-vue/dist/antd.css";
 
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);
 
// import BaiduMap from '@/components/vue-bai-map/components'
// Vue.use( BaiduMap, { ak : 'tuVbv4tLIzoX7IWdeKeTwojDqPILFoe5'} )
// import BaiduMap from 'vue-baidu-map'
// Vue.use( BaiduMap, { ak : 'tuVbv4tLIzoX7IWdeKeTwojDqPILFoe5'} )
 
import { getStore, setStore, removeStore } from "./libs/store"
import store from './store'
Vue.use(Antd);
 
// 将自动注册所有组件为全局组件
import dataV from '@jiaminghi/data-view'
 
Vue.use(dataV)
 
import './utils/flexible'
import gsap from 'gsap'
Vue.prototype.gsap = gsap
 
Vue.prototype.getStore = getStore;
Vue.prototype.setStore = setStore;
Vue.prototype.removeStore = removeStore;
 
import './libs/dialogDrag'
 
import moment from 'moment'
Vue.prototype.moment = moment
 
import animated from 'animate.css'
Vue.use(animated)
 
Vue.config.productionTip = false
 
 
import vcolorpicker from 'vcolorpicker'
Vue.use(vcolorpicker)
 
new Vue({
    el: '#app',
    router,
    store,
    components: { App },
    template: '<App/>',
    document: {
        icon: '',
        title: '后台管理'
    },
    watch: {
        $route() {
            document.title = this.$route.meta.title || '出错了'
        }
    }
})