ggfwjsc/src/main.js

26 lines
666 B
JavaScript
Raw Normal View History

2024-04-12 09:26:48 +08:00
import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
// 引入路由
import router from "./router";
2024-04-17 13:08:03 +08:00
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
2024-06-04 15:25:58 +08:00
import './assets/css/common.css'
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
2024-08-26 11:47:13 +08:00
2024-09-27 15:11:22 +08:00
// 引入 vConsole
import VConsole from 'vconsole';
// 初始化 vConsole
2024-09-27 15:42:06 +08:00
const vConsole = new VConsole();
// const vConsole = new VConsole({
// defaultPlugins: {
// // 是否默认开启 console 插件
// 'console': true,
// // 其他插件配置...
// }
// });
2024-09-27 15:11:22 +08:00
2024-06-04 15:25:58 +08:00
createApp(App).use(router).use(ElementPlus,{
locale: zhCn,
}).mount('#app')