diff options
Diffstat (limited to 'src/tools/text-diff')
-rw-r--r-- | src/tools/text-diff/index.ts | 12 | ||||
-rw-r--r-- | src/tools/text-diff/text-diff.vue | 5 |
2 files changed, 17 insertions, 0 deletions
diff --git a/src/tools/text-diff/index.ts b/src/tools/text-diff/index.ts new file mode 100644 index 0000000..992acba --- /dev/null +++ b/src/tools/text-diff/index.ts @@ -0,0 +1,12 @@ +import { FileDiff } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: 'Text diff', + path: '/text-diff', + description: 'Compare two texts and see the differences between them.', + keywords: ['text', 'diff', 'compare', 'string', 'text diff', 'code'], + component: () => import('./text-diff.vue'), + icon: FileDiff, + createdAt: new Date('2023-08-16'), +}); diff --git a/src/tools/text-diff/text-diff.vue b/src/tools/text-diff/text-diff.vue new file mode 100644 index 0000000..990f05b --- /dev/null +++ b/src/tools/text-diff/text-diff.vue @@ -0,0 +1,5 @@ +<template> + <c-card w-full important:flex-1 important:pa-0> + <c-diff-editor /> + </c-card> +</template> |