md/src/main.ts
Libin YANG e8b2c18c6d
All checks were successful
Build and Deploy / build-and-deploy (push) Has been skipped
chore: add type check and upgrade packages (#418)
2024-09-18 09:44:51 +08:00

29 lines
753 B
TypeScript

import { createPinia } from 'pinia'
import { createApp } from 'vue'
import App from './App.vue'
import ElementPlus from './element'
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`)