From a145ed1ba558d616ea5dd207774eaafc8dbf1833 Mon Sep 17 00:00:00 2001 From: liaozan <378024053@qq.com> Date: Tue, 12 Apr 2022 10:32:40 +0800 Subject: [PATCH] feat: fileContent preview with highlight+4 --- initializer-ui/src/main.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/initializer-ui/src/main.ts b/initializer-ui/src/main.ts index 473a45a..d720f2f 100644 --- a/initializer-ui/src/main.ts +++ b/initializer-ui/src/main.ts @@ -4,12 +4,12 @@ import Antd from 'ant-design-vue' import './index.css' import 'ant-design-vue/dist/antd.css'; import 'highlight.js/styles/stackoverflow-light.css' -import hljs from 'highlight.js/lib/common'; +import highlight from 'highlight.js/lib/common'; import highlightVuePlugin from '@highlightjs/vue-plugin' -hljs.configure({}) +highlight.configure({}) const app = createApp(App) app.use(highlightVuePlugin) app.use(Antd) -app.mount('#app') +app.mount('#app') \ No newline at end of file -- GitLab