aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/main.ts
blob: 6bb9085c9c657f9dd8ae206de9bf6eb8b788a742 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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')