|
@@ -1,15 +1,20 @@
|
|
import { createApp } from 'vue'
|
|
import { createApp } from 'vue'
|
|
import { createPinia } from 'pinia'
|
|
import { createPinia } from 'pinia'
|
|
import ElementPlus from 'element-plus'
|
|
import ElementPlus from 'element-plus'
|
|
|
|
+import "./TailWindCss/index.css";
|
|
import 'element-plus/dist/index.css'
|
|
import 'element-plus/dist/index.css'
|
|
|
|
+import * as ElementPlusIconsVue from '@element-plus/icons-vue'
|
|
import App from './App.vue'
|
|
import App from './App.vue'
|
|
import router from './router/index'
|
|
import router from './router/index'
|
|
import "./styles.css"
|
|
import "./styles.css"
|
|
-import "./TailWindCss/index.css";
|
|
|
|
import * as echarts from 'echarts';
|
|
import * as echarts from 'echarts';
|
|
|
|
|
|
const app = createApp(App)
|
|
const app = createApp(App)
|
|
|
|
|
|
|
|
+for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
|
|
|
|
+ app.component(key, component)
|
|
|
|
+}
|
|
|
|
+
|
|
app.config.globalProperties.$echarts = echarts;
|
|
app.config.globalProperties.$echarts = echarts;
|
|
app
|
|
app
|
|
.use(ElementPlus)
|
|
.use(ElementPlus)
|