// The Vue build version to load with the `import` command // (runtime-only or standalone) has been set in webpack.base.conf with an alias. import Vue from 'vue' import router from './router/index' import store from './store' import './permission' import './errorLog' import './common/components/index' import ElementUI from 'element-ui' import 'element-ui/lib/theme-chalk/index.css' // @ts-ignore import App from './App.vue' import 'vue2-animate/dist/vue2-animate.min.css' import CmpEcharts from 'cmp-echarts' import 'cmp-echarts/lib/cmp-echarts.css' import './common/filters' import './common/directive' import i18n from './lang' // internationalization import CmpElement from 'cmp-element' import 'cmp-element/lib/cmp-element.css' import 'vite-plugin-svg-icons/register'; import VueCompositionAPI from '@vue/composition-api' import mavonEditor from 'mavon-editor' import 'mavon-editor/dist/css/index.css' Vue.use(mavonEditor) Vue.use(ElementUI, { size: 'small', i18n: (key: any, value: any) => i18n.t(key, value) }); Vue.use(VueCompositionAPI) Vue.use(CmpElement) Vue.use(CmpEcharts) Vue.config.productionTip = false /* eslint-disable no-new */ new Vue({ el: '#app', router, store, i18n, render: h => h(App) }).$mount('#app')