first commit
This commit is contained in:
14
src/main.ts
Normal file
14
src/main.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import { createApp } from "vue";
|
||||
import "./style.less";
|
||||
import App from "./App.vue";
|
||||
import Chart from "./components/chart/index.vue";
|
||||
import * as echarts from "echarts";
|
||||
import echartsConfig from "./config/echarts.config";
|
||||
|
||||
echarts.registerTheme("t-theme", echartsConfig);
|
||||
|
||||
const app = createApp(App);
|
||||
|
||||
app.component("TChart", Chart);
|
||||
|
||||
app.mount("#app");
|
||||
Reference in New Issue
Block a user