halfrost / VueLearning

11 stars 4 forks source link

代码高亮在路由切换的时候会失效,建议更换Vue-height #2

Open halfrost opened 7 years ago

halfrost commented 7 years ago

issue-10-5 看看换了新的高亮以后会不会出现短的引用出现另起一行的表现。

halfrost commented 7 years ago

暂时还没有更换 Vue-heightlight ,先换用 a 标签,来防止router带来的切换以后不显示代码高亮

halfrost commented 7 years ago

http://www.ahonn.me/2016/07/13/getting-highlightjs-to-work-with-vue.js/