import Vue from 'vue'
import App from './App.vue'
import router from '@/router/index'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import 'lib-flexible'
import Title from "@/components/Title"
import ShadowContainer from "@/components/ShadowContainer"
import ShadowContainerRect from "@/components/ShadowContainerRect"

import * as echarts from "echarts"
import scroll from 'vue-seamless-scroll'
import "@/assets/iconfont/iconfont.css";
window._AMapSecurityConfig = {
  securityJsCode: 'c74dee3a77a5864a52dbe04fc8f93586',
}
Vue.use(scroll)

Vue.prototype.$echarts = echarts
Vue.config.productionTip = false

Vue.use(ElementUI)
Vue.component('Title', Title)
Vue.component('ShadowContainer', ShadowContainer)
Vue.component('ShadowContainerRect', ShadowContainerRect)

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