mirror of
https://github.com/doocs/md.git
synced 2024-11-28 13:36:32 +08:00
29 lines
753 B
TypeScript
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`)
|