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