import Vue from 'vue'
// import { createApp } 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 * as echarts from 'echarts';
import axios from 'axios'
import fns from './common/js/fns'
// import ElementPlus from 'element-plus';
// import 'element-plus/theme-chalk/index.css';
// import locale from 'element-plus/lib/locale/lang/zh-cn'
import './assets/style/border.css'
import './assets/style/reset.css'

import '@/assets/fonts/font.css'


Vue.config.productionTip = false
Vue.prototype.$echarts = echarts;
Vue.prototype.$axios = axios
Vue.prototype.$fns = fns
Vue.use(ElementUI);
// createApp(App).use(router).use(store)
// // .use(ElementPlus, { size: 'small', zIndex: 3000 })
// .mount("#app");

new Vue({
  fns,
  router,
  store,
  // ElementPlus, 
  render: h => h(App)
}).$mount('#app')