Vue Highlight Component
JSON →Vue Highlight Component is an older Vue 2 component designed to integrate code highlighting into Vue applications using the `highlight.js` library. It specifically targets `highlight.js` v9.x, which is now several major versions behind the current stable `highlight.js` (v11+). This package provides a simple wrapper component, `<highlight>`, allowing developers to display syntax-highlighted code blocks within their Vue templates, either by passing the code as slot content or via a `code` prop. Due to its age and lack of recent updates, it is largely superseded by more actively maintained and official solutions like `@highlightjs/vue-plugin`, which supports both Vue 2 and Vue 3 and integrates with modern `highlight.js` versions. There is no active release cadence, and it is primarily useful for legacy projects still on Vue 2 and an older `highlight.js` version.
Traffic · last 30 days ↓37% vs prev 7d
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇫🇷 France · 🇩🇪 Germany