byAaronLuo
byAaronLuo
Maybe I should ask if this is a bug? Is there something wrong with my packaging with vue-cli? So far I've only found this problem with the http response package
I found the problem, in the development tool the attributes of the code tag are not loaded with the corresponding CSS, e.g., the class of the highlighted http response in...
> `import 'highlight.js/lib/common'` is ignored in package. The second image hightlight the code as javascript. You should register the HTML language to highlight the code. Yeah. Thanks, I got solved...
For Json Issue ```html import 'highlight.js/styles/atom-one-dark.css' import 'highlight.js/lib/common' import hljs from 'highlight.js/lib/core' import hljsVuePlugin from '@highlightjs/vue-plugin' import http from 'highlight.js/lib/languages/http' import xml from 'highlight.js/lib/languages/xml' import json from 'highlight.js/lib/languages/json' hljs.registerLanguage('http', http)...