update dep
This commit is contained in:
@ -2,6 +2,10 @@ import { createApp } from "vue";
|
||||
|
||||
import Cookies from "js-cookie";
|
||||
|
||||
import "highlight.js/styles/atom-one-light.css";
|
||||
import "highlight.js/lib/common";
|
||||
import hljsVuePlugin from "@highlightjs/vue-plugin";
|
||||
|
||||
import ElementPlus from "element-plus";
|
||||
import locale from "element-plus/lib/locale/lang/zh-cn"; // 中文语言
|
||||
import "@/assets/styles/index.scss"; // global css
|
||||
@ -70,6 +74,7 @@ app.use(router);
|
||||
app.use(store);
|
||||
app.use(plugins);
|
||||
app.use(elementIcons);
|
||||
app.use(hljsVuePlugin);
|
||||
app.component("svg-icon", SvgIcon);
|
||||
|
||||
directive(app);
|
||||
|
||||
@ -205,7 +205,7 @@
|
||||
style="float: right"
|
||||
> 复制
|
||||
</el-link>
|
||||
<pre>{{ value }}</pre>
|
||||
<highlightjs :code="value"></highlightjs>
|
||||
</el-tab-pane>
|
||||
</el-tabs>
|
||||
</el-dialog>
|
||||
|
||||
Reference in New Issue
Block a user