You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
import { createApp } from 'vue'
|
|
|
|
import App from './App.vue'
|
|
|
|
import router from './permissions'
|
|
|
|
import '@/styles/index.scss'
|
|
|
|
import ElementPlus from 'element-plus';
|
|
|
|
import 'element-plus/dist/index.css'; // 引入 Element Plus 的样式文件
|
|
|
|
import '@/utils/rem.js'
|
|
|
|
import DataVVue3 from '@kjgl77/datav-vue3'
|
|
|
|
import pinia from '@/store/index'
|
|
|
|
//引入依赖和语言
|
|
|
|
import 'highlight.js/styles/stackoverflow-light.css'
|
|
|
|
// import hljs from "highlight.js/lib/core";
|
|
|
|
// import hljsVuePlugin from "@highlightjs/vue-plugin";
|
|
|
|
// import java from "highlight.js/lib/languages/java";
|
|
|
|
const app = createApp(App)
|
|
|
|
// hljs.registerLanguage("java", java);
|
|
|
|
// app.use(hljsVuePlugin);
|
|
|
|
app.use(ElementPlus)
|
|
|
|
app.use(pinia)
|
|
|
|
app.use(DataVVue3)
|
|
|
|
app.use(router)
|
|
|
|
app.mount('#app')
|