File tree Expand file tree Collapse file tree 4 files changed +7
-4
lines changed
packages/svelte/src/routes
react-example/src/components Expand file tree Collapse file tree 4 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 6
6
7
7
# Git Diff Component
8
8
9
- A Diff view component for React / Vue,
9
+ A Diff view component for React / Vue / Solid / Svelte ,
10
10
The most one component what easy to use and feature complete.
11
11
12
12
[ ![ Deploy] ( https://github.com/MrWangJustToDo/git-diff-view/actions/workflows/deploy.yml/badge.svg )] ( https://github.com/MrWangJustToDo/git-diff-view/actions/workflows/deploy.yml )
@@ -38,6 +38,8 @@ See example project [Example](https://github.com/MrWangJustToDo/git-diff-view/tr
38
38
| [ ` @git-diff-view/file ` ] ( packages/file ) | [ ![ npm (scoped)] ( https://img.shields.io/npm/v/%40git-diff-view/file )] ( https://www.npmjs.com/package/@git-diff-view/file ) |
39
39
| [ ` @git-diff-view/react ` ] ( packages/react ) | [ ![ npm (scoped)] ( https://img.shields.io/npm/v/%40git-diff-view/react )] ( https://www.npmjs.com/package/@git-diff-view/react ) |
40
40
| [ ` @git-diff-view/vue ` ] ( packages/vue ) | [ ![ npm (scoped)] ( https://img.shields.io/npm/v/%40git-diff-view/vue )] ( https://www.npmjs.com/package/@git-diff-view/vue ) |
41
+ | [ ` @git-diff-view/solid ` ] ( packages/solid ) | [ ![ npm (scoped)] ( https://img.shields.io/npm/v/%40git-diff-view/solid )] ( https://www.npmjs.com/package/@git-diff-view/solid ) |
42
+ | [ ` @git-diff-view/svelte ` ] ( packages/svelte ) | [ ![ npm (scoped)] ( https://img.shields.io/npm/v/%40git-diff-view/svelte )] ( https://www.npmjs.com/package/@git-diff-view/svelte ) |
41
43
42
44
### syntax highlighter
43
45
Original file line number Diff line number Diff line change 58
58
</script >
59
59
60
60
<div class =" m-auto mb-[1em] mt-[1em] w-[90%]" >
61
- <h2 class =" text-[24px]" >A Solid component to show the file diff</h2 >
61
+ <h2 class =" text-[24px]" >A Svelte component to show the file diff</h2 >
62
62
<br />
63
63
<p >
64
64
Select a file to show the diff:
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ export const MainContent = () => {
38
38
< Title > Git Diff View</ Title >
39
39
< Space h = "12" />
40
40
< Text size = "lg" component = "div" >
41
- A < Code > Diff</ Code > view component for React / Vue,
41
+ A < Code > Diff</ Code > view component for React / Vue / Solid / Svelte ,
42
42
< Highlight highlight = { [ "easy to use" , "feature complete" ] } color = { color } >
43
43
The most one component what easy to use and feature complete.
44
44
</ Highlight >
Original file line number Diff line number Diff line change 1
- ## SEE [ package/svelte] ( [https://github.com/MrWangJustToDo/git-diff-view/tree/main/packages/svelte] ) for more details.
1
+ ## SEE package/svelte for more details.
2
+ goto [ package/svelte] ( [https://github.com/MrWangJustToDo/git-diff-view/tree/main/packages/svelte] )
You can’t perform that action at this time.
0 commit comments