chroe: echarts unless import opt

This commit is contained in:
engigu
2024-01-25 11:38:45 +08:00
parent af3d8876a2
commit f7f8c2d35d
5 changed files with 44 additions and 5 deletions
+2
View File
@@ -7,6 +7,7 @@ import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
// import './assets/styles/global.css'
import pinia from './store';
import echarts from "./echarts";
const app = createApp(App)
@@ -14,6 +15,7 @@ app.use(router)
app.use(ElementPlus)
app.use(pinia);
app.provide('$echarts', echarts);
app.mount('#app')