From ad4bbef65b1621a8f5ef609b459fb75084b909ac Mon Sep 17 00:00:00 2001 From: HsiangNianian Date: Sat, 7 Sep 2024 15:17:33 +0800 Subject: chore: move site dir --- src/main.ts | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 src/main.ts (limited to 'src/main.ts') diff --git a/src/main.ts b/src/main.ts new file mode 100644 index 0000000..6bb9085 --- /dev/null +++ b/src/main.ts @@ -0,0 +1,38 @@ +/** + * main.ts + * + * Bootstraps Vuetify and other plugins then mounts the App` + */ + + +// Components +import App from './App.vue' + +// Composable +import { createApp } from 'vue' + +// Plugins +import { registerPlugins } from '@/plugins' + +import './assets/main.css' +import VMdPreview from '@kangc/v-md-editor/lib/preview'; +import '@kangc/v-md-editor/lib/style/preview.css'; +import githubTheme from '@kangc/v-md-editor/lib/theme/github.js'; +import '@kangc/v-md-editor/lib/theme/style/github.css'; +import ElementPlus from 'element-plus' +import 'element-plus/dist/index.css' +// highlights +import hljs from 'highlight.js'; + +VMdPreview.use(githubTheme, { + Hljs: hljs, +}); + + + + +const app = createApp(App) +app.use(VMdPreview) +app.use(ElementPlus) +registerPlugins(app) +app.mount('#app') -- cgit v1.2.3-70-g09d2