陶杰
2024-11-19 f7ac77c7cc193502aff7e2a70f636253ada12386
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
import Vue from 'vue'
import App from './App.vue'
import dataV from '@jiaminghi/data-view'
import router from './router'
import "@/common/common.scss";
 
Vue.config.productionTip = false
Vue.use(dataV)
 
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
// import locale from 'element-ui/lib/locale/lang/zh-CN' // lang i18n
 
Vue.prototype.$ELEMENT = {
  size: (localStorage.getItem('size') || 'medium'),
  // i18n: (key, value) => i18n.t(key, value)
}
 
import modal from '@/utils/modal'
Vue.prototype.$modal = modal
 
Vue.use(ElementUI)
 
 
import store from './store'
// import self_base from './utils/self_base.js'
// Vue.use(self_base);
 
 
new Vue({
  render: h => h(App),
  router,
  store
}).$mount('#app')