v-code-diff
Advanced tools
Comparing version
{ | ||
"name": "v-code-diff", | ||
"description": "A diff plugin of vue, support vue2 and vue3", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"scripts": { | ||
@@ -9,3 +9,4 @@ "dev": "vite", | ||
"serve": "vite preview", | ||
"commit": "git-cz" | ||
"commit": "git-cz", | ||
"gh-pages": "vite build --base=/v-code-diff/ && gh-pages -d ./pages" | ||
}, | ||
@@ -78,2 +79,3 @@ "main": "dist/v-code-diff.cjs.js", | ||
"eslint-plugin-vue": "^7.8.0", | ||
"gh-pages": "^3.2.1", | ||
"lint-staged": "^10.5.4", | ||
@@ -80,0 +82,0 @@ "prettier": "^2.2.1", |
# VCodeDiff | ||
[](https://www.npmjs.com/package/vue-katex) [](https://opensource.org/licenses/MIT) | ||
[](https://www.npmjs.com/package/v-code-diff) [](https://opensource.org/licenses/MIT) | ||
@@ -114,5 +114,5 @@ A code diff display plugin, available for Vue2 / Vue3. | ||
# Arguments | ||
# Props | ||
| Argument | Description | Type | Optional | 默认值 | | ||
| Prop | Description | Type | Optional | 默认值 | | ||
|---------- |-------- |---------- |------------- |-------- | | ||
@@ -132,2 +132,12 @@ | old-string| old string | string | — | — | | ||
* Smaller package size | ||
# ChangeLog | ||
### 0.0.2 | ||
1. context default value changed from 5 to 10 | ||
2. fix possible line-height conflict(such as [antd-vue](https://github.com/vueComponent/ant-design-vue)) | ||
### 0.0.1 | ||
First Version. | ||
# LICENCE | ||
@@ -134,0 +144,0 @@ |
@@ -20,3 +20,3 @@ import { computed, defineComponent, onMounted } from 'vue-demi' | ||
type: Number, | ||
default: 5 | ||
default: 10 | ||
}, | ||
@@ -23,0 +23,0 @@ outputFormat: { |
Sorry, the diff of this file is not supported yet
26335
1.24%159
6.71%46
2.22%