From 4626de2593af6fe213d3e1f3530c4766bb949442 Mon Sep 17 00:00:00 2001 From: mengxiong10 <15623530290@163.com> Date: Tue, 12 Nov 2019 11:05:17 +0800 Subject: [PATCH] docs: fix code highlight --- example/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/app.js b/example/app.js index b2d81a2..392992f 100644 --- a/example/app.js +++ b/example/app.js @@ -114,7 +114,7 @@ const titleAndDescMap = transformMd(en); const App = { name: 'App', mounted() { - hljs.initHighlightingOnLoad(); + hljs.initHighlighting(); }, render(h) { const menus = components.map(item => {