You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 10, 2025. It is now read-only.
You can see the difference between the two codes with the `vue-diff` plugin.
24
-
This plugin dependent on <ahref="https://github.com/kpdecker/jsdiff">diff</a> and <ahref="https://github.com/highlightjs/highlight.js/">highlight.js</a>, shows similar results to other diff viewers (e.g., Github Desktop).
25
-
Please see the <ahref="https://hoiheart.github.io/vue-diff/demo/index.html"target="_blank"style="font-size: 1.2em; text-decoration: underline;">demo</a>
24
+
This plugin dependent on <ahref="https://github.com/kpdecker/jsdiff">diff</a> and <ahref="https://github.com/highlightjs/highlight.js/">highlight.js</a>, shows similar results to other diff viewers (e.g., Github Desktop).
25
+
Here is the <ahref="https://hoiheart.github.io/vue-diff/demo/index.html"target="_blank"style="font-size: 1.2em; text-decoration: underline;">demo</a>
26
26
27
27
## Features
28
28
29
29
*[x] Support split / unified mode
30
-
*[x] Support some languages and can be extended
30
+
*[x] Support multiple languages and can be extended
31
31
*[X] Support two themes (dark / light) and can be customized
32
32
*[ ] Support IE11 (IE 11 support for Vue@3 is still pending)
33
33
@@ -56,7 +56,7 @@ app.use(VueDiff, {
56
56
57
57
| name | type | detault | description |
58
58
|- | - | - | - |
59
-
| componentName |`string`|`'Diff'`| Global diff component name |
59
+
| componentName |`string`|`Diff`| Global diff component name |
60
60
61
61
## Usage diff viewer
62
62
@@ -119,13 +119,19 @@ npm install highlight.js
119
119
120
120
`vue-diff` supports the following languages and can be extended through <ahref="https://github.com/highlightjs/highlight.js/#es6-modules">highlight.js language registration.</a>
0 commit comments