Commit 7b6669c2 authored by cenlijie's avatar cenlijie

feat: hljs import

parent 30e3d0ec
......@@ -4,10 +4,11 @@ import Antd from 'ant-design-vue'
import './index.css'
import 'ant-design-vue/dist/antd.css';
import 'highlight.js/styles/stackoverflow-light.css'
import 'highlight.js/lib/common';
import hljs from 'highlight.js/lib/common';
import highlightVuePlugin from '@highlightjs/vue-plugin'
const app = createApp(App)
app.use(highlightVuePlugin)
app.use(Antd)
app.mount('#app')
\ No newline at end of file
app.mount('#app')
console.log(hljs.APOS_STRING_MODE)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment