scr-web/src/main.ts

22 lines
537 B
TypeScript

import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import VueCompositionAPI from '@vue/composition-api'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import dataV from '@jiaminghi/data-view'
import CommonComponents from './components'
Vue.use(VueCompositionAPI)
Vue.use(ElementUI, { size: 'small' })
Vue.use(dataV)
Vue.use(CommonComponents)
Vue.config.productionTip = false
new Vue({
router,
store,
render: h => h(App)
}).$mount('#app')