text-compare-vue3
Version:
A powerful text comparison plugin for Vue.js with character-level diff support
15 lines (11 loc) • 431 B
text/typescript
import type { App } from 'vue'
import TextDiff from './components/TextDiff.vue'
import { useTextComparison } from './composables/useTextComparison'
import { DiffEngine } from './core/DiffEngine'
import { getDiffParts } from './utils/diff'
export { TextDiff, useTextComparison, DiffEngine, getDiffParts }
const install = (app: App): void => {
app.component('TextDiff', TextDiff)
}
export { install }
export default { install }