import './utils/prototype'
import './utils/capture'
import './utils/data-report'
import router from './router'
import store from './store'

import 'element-ui/packages/theme-chalk/src/index.scss'
import './styles/index.scss'
import './styles/element-ui.scss'
import './utils/iframe-message'
/**
 * 挂载全局 $ELEMENT 属性
 */
window.Vue.prototype.$ELEMENT = { size: 'small', zIndex: 99 }

/**
 * 挂载全局 $store 属性
 */
window.Vue.prototype.$store = store
/**
 * 创建 Vue 实例
 */
new window.Vue({
  router,
  render: (h) => h('RouterView')
}).$mount('#app')
