🌐
GitHub
github.com › Shimada666 › v-code-diff
GitHub - Shimada666/v-code-diff: A vue code diff display plugin, support Vue2 / Vue3
import Vue from 'vue' import CodeDiff from 'v-code-diff' Vue.use(CodeDiff) ... Code language, such as typescript, defaults to plain text. View all supported languages
Starred by 506 users
Forked by 74 users
Languages   SCSS 49.8% | TypeScript 27.3% | Vue 19.2% | JavaScript 2.2% | HTML 1.5% | SCSS 49.8% | TypeScript 27.3% | Vue 19.2% | JavaScript 2.2% | HTML 1.5%
🌐
npm
npmjs.com › package › @git-diff-view › vue
git-diff-view/vue
January 8, 2026 - <script setup> import { DiffView } from "@git-diff-view/vue"; import { DiffFile, generateDiffFile } from "@git-diff-view/file"; import "@git-diff-view/vue/styles/diff-view.css"; const file = generateDiffFile( "old.ts", oldContent, "new.ts", newContent, "typescript", "typescript" ); file.initTheme('dark'); file.init(); file.buildSplitDiffLines(); </script> <template> <DiffView :diff-file="file" /> </template>
      » npm install @git-diff-view/vue
    
Published   Feb 26, 2026
Version   0.0.40
Author   MrWangJustToDo
🌐
Made with Vue.js
madewithvuejs.com › git-diff-view
Git Diff View for Vue - Git Diff Component - Made with Vue.js
June 28, 2024 - "git-diff-view provides a Vue component to show git diff/file diff results, just like on a Github code review page. It supports split and unified views, syntax highlighting, virtual scrolling and more."
🌐
GitHub
github.com › hoiheart › vue-diff
GitHub - hoiheart/vue-diff: VueJS diff viewer plugin
<template> <!-- If the changed componentName <VueDiff> --> <Diff :mode="mode" :theme="theme" :language="language" :prev="prev" :current="current" /> </template> <template> <Diff :mode="mode" :theme="theme" :language="language" :prev="prev" :current="current" :folding="folding" :input-delay="0" :virtual-scroll="{ height: 500, lineMinHeight: 24, delay: 100 }" /> </template> ... <template> <Diff :mode="mode" <!-- Characters that begin with custom --> theme="custom" :language="language" :prev="prev" :current="current" /> </template> <style lang="scss"> .vue-diff-theme-custom { @import 'highlight.js/scss/vs2015.scss'; // import theme background-color: #000; // Set background color } </style>
Starred by 205 users
Forked by 18 users
Languages   TypeScript 57.2% | Vue 31.7% | SCSS 6.6% | HTML 3.7% | JavaScript 0.8% | TypeScript 57.2% | Vue 31.7% | SCSS 6.6% | HTML 3.7% | JavaScript 0.8%
🌐
GitHub
github.com › codeDebugTest › vue-diff-view
GitHub - codeDebugTest/vue-diff-view: a git diff vue component
<template> <div id="app"> <code-diff-viewer :new-content="newStr" :old-content="oldStr" title="测试修改"/> </div> </template> <script> import CodeDiffViewer from 'VueDiffView'; export default { name: 'app', components: { CodeDiffViewer }, data() { return { oldStr: '[\n {\n name: title\n displayName: "标题"\n datatype: "OBJECT"\n }\n]', newStr: '[\n {\n name: title\n displayName: "TAB"\n datatype: "ARRAY"\n }\n {\n name: title\n displayName: "TAB"\n datatype: "ARRAY"\n }\n]' }; } }; </script>
Starred by 42 users
Forked by 10 users
Languages   Vue 84.7% | JavaScript 11.0% | HTML 4.3% | Vue 84.7% | JavaScript 11.0% | HTML 4.3%
🌐
GitHub
github.com › MrWangJustToDo › git-diff-view
GitHub - MrWangJustToDo/git-diff-view: A Diff View component for React / Vue / Solid / Svelte / Ink, same as Github · GitHub
🌗 SSR/RSC Ready - Full server-side rendering and React Server Components support · Try it online: Git Mode · File Mode · GitHub Style ... # React pnpm add @git-diff-view/react # Vue pnpm add @git-diff-view/vue # Solid / Svelte pnpm add @git-diff-view/solid pnpm add @git-diff-view/svelte
Starred by 662 users
Forked by 39 users
Languages   TypeScript 88.3% | Svelte 7.4% | JavaScript 2.1% | CSS 1.5%
🌐
npm
npmjs.com › package › vue-code-diff
vue-code-diff - npm
<template> <div> <code-diff :old-string="oldStr" :new-string="newStr" :context="10" /> </div> </template> import CodeDiff from 'vue-code-diff' export default { components: {CodeDiff}, data(){ return { oldStr: 'old code', newStr: 'new code' } } }
      » npm install vue-code-diff
    
Published   May 30, 2021
Version   1.2.0
Author   ddchef>
🌐
GitHub
github.com › Nick-Riggs › diff-vue
GitHub - Nick-Riggs/diff-vue: Javascript utility for calculating deep difference, capturing changes, and applying changes across objects; for nodejs and the browser.
0.3.3 - Thanks @SimenB: enabled npm script for release (alternate to the Makefile). Also linting as part of npm test. Thanks @joeldenning: Fixed issue #35; diffs of top level arrays now working. 0.3.2 - Resolves #46; support more robust filters by including lhs and rhs in the filter callback.
Author   Nick-Riggs
Find elsewhere
🌐
Mrwangjusttodo
mrwangjusttodo.github.io › git-diff-view
Git Diff View - High-Performance Diff Component for React, Vue, Solid & Svelte
A feature-rich, high-performance diff view component for React, Vue, Solid, and Svelte. GitHub-style UI with syntax highlighting, split/unified views, and SSR support.
🌐
GitHub
github.com › sitefinitysteve › vue-diff-text
GitHub - sitefinitysteve/vue-diff-text: VueJs3 Diff wrapper for jsdiff
Pass any options that jsdiff supports · npm install vue-diff-text · To run this demo locally: git clone this repo, cd demo, npm install, then npm run dev · Each component uses a different diffing strategy depending on what level of detail you need: DiffChars - Shows every single character change.
Author   sitefinitysteve
🌐
npm
npmjs.com › package › @jafri › vue-diff-view
@jafri/vue-diff-view - npm
Latest version: 0.7.0, last published: 6 years ago. Start using @jafri/vue-diff-view in your project by running `npm i @jafri/vue-diff-view`. There are no other projects in the npm registry using @jafri/vue-diff-view.
      » npm install @jafri/vue-diff-view
    
Published   Oct 23, 2019
Version   0.7.0
Author   liuye
🌐
Reddit
reddit.com › r/vuejs › my programming language aware diff for vs code and github now supports vue
r/vuejs on Reddit: My programming language aware diff for VS Code and GitHub now supports Vue
July 9, 2024 -

I am working on SemanticDiff, a programming language aware diff that hides style-only changes, detects moved code and refactorings. I just added support for Vue and would like to know what you think!

SemanticDiff parses the contents of Vue SFC files to distinguish between relevant and irrelevant changes. This makes it possible, for example, to ignore added/removed whitespace that is not rendered by the browser. This approach is not limited to the template tag, SemanticDiff also parses the contents of script (JS/TS) and style (CSS/SCSS) tags. Overall, SemanticDiff should give you a diff with less noise.

If this sounds interesting, you can read the release blog post to learn more. The VS Code extension is free and the GitHub app is also free for public repositories or private repositories with 3 or less contributors.

I look forward to your feedback.

🌐
CodeSandbox
codesandbox.io › examples › package › @jafri › vue-diff-view
@jafri/vue-diff-view examples - CodeSandbox
About> a git diff component for Vue.js5Weekly Downloads · Latest version0.7.0 · LicenseMIT · External Links ·
🌐
Brightcoding
blog.brightcoding.dev › 2025 › 12 › 16 › the-ultimate-diff-view-component-one-library-to-rule-react-vue-solid-svelte
The Ultimate Diff View Component: One Library to Rule React, Vue, Solid & Svelte - BrightCoding
December 16, 2025 - PackageSizePurposenpm installs/month@git-diff-view/react15kbReact component4,500+@git-diff-view/vue14kbVue 3 component3,200+@git-diff-view/solid13kbSolid component1,800+@git-diff-view/svelte12kbSvelte component2,100+@git-diff-view/core25kbDiff engine5,000+@git-diff-view/file8kbFile comparison2,700+### Syntax Highlighters · @git-diff-view/lowlight : Built-in HAST-based highlighter (no external deps) @git-diff-view/shiki : Shiki integration for 100+ language support
🌐
GitHub
github.com › cexbrayat › vue-cli-diff
GitHub - cexbrayat/vue-cli-diff: Easily upgrade your Vue CLI applications from one version to another 🚀
A dedicated branch per version makes changes very easy to watch. For example: https://github.com/cexbrayat/vue-cli-diff/compare/4.1.2...4.1.3
Author   cexbrayat
🌐
npm
npmjs.com › package › vue-diff
vue-diff - npm
June 8, 2022 - You can see the difference between the two codes with the vue-diff plugin. This plugin dependent on diff-match-patch and highlight.js, shows similar results to other diff viewers (e.g., Github Desktop).
      » npm install vue-diff
    
Published   Jun 08, 2022
Version   1.2.4
Author   hoiheart
🌐
GitHub
github.com › njueyupeng › vue2-code-diff
GitHub - njueyupeng/vue2-code-diff
import 'vue2-code-diff/dist/vue2-code-diff.css' import Vue2CodeDiff from 'vue2-code-diff/dist/vue2-code-diff.common' Vue.use(Vue2CodeDiff)
Author   njueyupeng
🌐
Shimada666
shimada666.github.io › v-code-diff
v-code-diff
## 2023.12.15 大概是幾天前... github,看看自己的項目的 star 多了幾顆。如果一旦看到多了幾個 star,便會不由自主地一陣竊喜,一方面感慨一下自己可真屌項目好多人 star 喔,一方面還能扯虎皮當大旗假模假樣覺得自己為人類的邊界擴寬了小小小 ... 众所周知,大多数的 vue2 项目都是用 ...