Vue Code Difference Viewer
JSON →v-code-diff is a Vue.js component designed for visually displaying code differences, supporting both Vue 2 (2.6.0+) and Vue 3 environments through its `vue-demi` integration. The current stable version is 1.13.1, with active development on the 1.x branch. This library differentiates itself by offering seamless cross-version compatibility for Vue projects, allowing developers to integrate robust code diffing capabilities regardless of their specific Vue ecosystem version. It builds upon established projects like `vue-diff` and `vue-code-diff`, and leverages `highlight.js` for extensive language support, defaulting to plaintext but configurable for numerous programming languages. The component supports both local and global registration, with local registration being the recommended approach for optimal tree-shaking. A clear migration path from the older 0.x versions to the current 1.x series is provided to simplify transitions.
Traffic · last 30 days ↓29% vs prev 7d
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany · 🇪🇸 Spain