import { createApp } from 'vue' import { createPinia } from 'pinia' import ElementPlus from './element' import App from './App.vue' import 'virtual:uno.css' import 'codemirror/lib/codemirror.css' import 'codemirror/theme/xq-light.css' import 'codemirror/theme/darcula.css' /* 每个页面公共css */ import '@/assets/index.css' import '@/assets/less/theme.less' import 'codemirror/mode/css/css' import 'codemirror/mode/markdown/markdown' import 'codemirror/addon/edit/closebrackets' import 'codemirror/addon/edit/matchbrackets' import 'codemirror/addon/selection/active-line' import 'codemirror/addon/hint/show-hint' import 'codemirror/addon/hint/css-hint' const app = createApp(App) app.use(createPinia()) app.use(ElementPlus) app.mount(`#app`)