1234567891011121314151617181920212223242526 |
- import Vue from 'vue'
- import App from './App.vue'
- import ElementUI from 'element-ui';
- import 'element-ui/lib/theme-chalk/index.css';
- import router from './router'
- import store from './store'
- import echarts from 'echarts'
- import 'echarts/map/js/china'
- import SvgIcon from '@/components/svgIcon/index.vue' // svg component
- import '@/assets/svg' // 导入图标资源
- import '@/core/http';
- import VJstree from 'vue-jstree'
- // 将自动注册所有组件为全局组件
- import dataV from '@jiaminghi/data-view'
- Vue.use(dataV)
- Vue.prototype.$echarts = echarts
- Vue.use(ElementUI);
- Vue.prototype.$store = store
- Vue.component('svg-icon', SvgIcon)
- Vue.component('v-jstree', VJstree)
- Vue.config.productionTip = false
- new Vue({
- router,
- store,
- render: h => h(App),
- }).$mount('#app')
|