大屏项目初始化
This commit is contained in:
@@ -1,18 +1,20 @@
|
||||
import { createApp } from 'vue'
|
||||
import { createPinia } from 'pinia'
|
||||
import App from './App.vue'
|
||||
import router from './router'
|
||||
import ElementPlus from 'element-plus'
|
||||
import 'element-plus/dist/index.css'
|
||||
import zhCn from 'element-plus/es/locale/lang/zh-cn'
|
||||
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
|
||||
import VScaleScreen from 'v-scale-screen'
|
||||
import zhCn from 'element-plus/es/locale/lang/zh-cn'
|
||||
|
||||
import 'element-plus/dist/index.css'
|
||||
import * as echarts from 'echarts'
|
||||
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
|
||||
|
||||
import "@/assets/font/pangshizidao.ttf";
|
||||
|
||||
const app = createApp(App)
|
||||
|
||||
// 注册路由
|
||||
app.use(createPinia())
|
||||
app.use(router)
|
||||
app.use(ElementPlus, {
|
||||
locale: zhCn,
|
||||
|
||||
Reference in New Issue
Block a user