26 lines
633 B
TypeScript
26 lines
633 B
TypeScript
|
|
import { createApp } from 'vue'
|
|||
|
|
import { createPinia } from 'pinia'
|
|||
|
|
import ElementPlus from 'element-plus'
|
|||
|
|
import zhCn from 'element-plus/es/locale/lang/zh-cn'
|
|||
|
|
import 'element-plus/dist/index.css'
|
|||
|
|
|
|||
|
|
// Font Awesome 图标
|
|||
|
|
import '@/assets/font-awesome/css/font-awesome.min.css'
|
|||
|
|
|
|||
|
|
// ECharts(按需引入)+ vue-echarts 组件
|
|||
|
|
import '@/plugins/echarts'
|
|||
|
|
import VChart from 'vue-echarts'
|
|||
|
|
|
|||
|
|
import App from './App.vue'
|
|||
|
|
import router from './router'
|
|||
|
|
import './styles/index.scss'
|
|||
|
|
|
|||
|
|
const app = createApp(App)
|
|||
|
|
|
|||
|
|
app.use(createPinia())
|
|||
|
|
app.use(router)
|
|||
|
|
app.use(ElementPlus, { locale: zhCn })
|
|||
|
|
app.component('VChart', VChart)
|
|||
|
|
|
|||
|
|
app.mount('#app')
|