28
28
29
29
- Vue 2.6 / 2.7 / 3 通用
30
30
- 支持 SSR,Nuxt 2 / 3 通用
31
- - 支持微前端( 比如 [ wujie] ( https://github.com/Tencent/wujie ) )
31
+ - 支持微前端 ( 比如 [ wujie] ( https://github.com/Tencent/wujie ) )
32
32
- 编辑模式双向绑定
33
- - 局部注册 + 局部传参,也可以全局注册 + 全局传参( [ vue-global-config] ( https://github.com/cloydlau/vue-global-config ) 提供技术支持)
33
+ - 局部注册 + 局部传参,也可以全局注册 + 全局传参 ( [ vue-global-config] ( https://github.com/cloydlau/vue-global-config ) 提供技术支持)
34
34
35
35
<br >
36
36
39
39
### 外置依赖
40
40
41
41
- ` vue `
42
- - ` vanilla-jsoneditor ` : [ svelte-jsoneditor] ( https://github.com/josdejong/svelte-jsoneditor ) ( [ jsoneditor] ( https://github.com/josdejong/jsoneditor ) 的继任者) 提供的原生 JS 版本
43
- - ` @vue/composition-api ` : 仅 Vue 2.6 或更早版本需要
42
+ - ` vanilla-jsoneditor ` : [ svelte-jsoneditor] ( https://github.com/josdejong/svelte-jsoneditor ) ( [ jsoneditor] ( https://github.com/josdejong/jsoneditor ) 的继任者) 提供的原生 JS 版本
43
+ - ` @vue/composition-api ` : 仅 Vue 2.6 或更早版本需要
44
44
45
45
<br >
46
46
@@ -120,7 +120,7 @@ createApp()
120
120
121
121
#### CDN + UMD
122
122
123
- > ⚠ 暂不支持( ` vanilla-jsoneditor ` 不提供 UMD 导出) ,如有需要请在[ 这里] ( https://github.com/josdejong/svelte-jsoneditor/discussions/196 ) 留言。
123
+ > ⚠ 暂不支持 ( ` vanilla-jsoneditor ` 不提供 UMD 导出) ,如有需要请在[ 这里] ( https://github.com/josdejong/svelte-jsoneditor/discussions/196 ) 留言。
124
124
125
125
``` html
126
126
<!DOCTYPE html>
@@ -232,7 +232,7 @@ Vue.use(JsonEditorVue, {
232
232
233
233
#### CDN + UMD
234
234
235
- > ⚠ 暂不支持( ` vanilla-jsoneditor ` 不提供 UMD 导出) ,如有需要请在[ 这里] ( https://github.com/josdejong/svelte-jsoneditor/discussions/196 ) 留言。
235
+ > ⚠ 暂不支持 ( ` vanilla-jsoneditor ` 不提供 UMD 导出) ,如有需要请在[ 这里] ( https://github.com/josdejong/svelte-jsoneditor/discussions/196 ) 留言。
236
236
237
237
``` html
238
238
<!DOCTYPE html>
@@ -362,7 +362,7 @@ Vue.use(JsonEditorVue, {
362
362
363
363
#### CDN + UMD
364
364
365
- > ⚠ 暂不支持( ` vanilla-jsoneditor ` 不提供 UMD 导出) ,如有需要请在[ 这里] ( https://github.com/josdejong/svelte-jsoneditor/discussions/196 ) 留言。
365
+ > ⚠ 暂不支持 ( ` vanilla-jsoneditor ` 不提供 UMD 导出) ,如有需要请在[ 这里] ( https://github.com/josdejong/svelte-jsoneditor/discussions/196 ) 留言。
366
366
367
367
``` html
368
368
<!DOCTYPE html>
@@ -687,8 +687,8 @@ export default {
687
687
688
688
### ` svelte-jsoneditor ` 与 ` json-editor-vue ` 中绑定值的差异
689
689
690
- - ` svelte-jsoneditor ` : 一个包含「 stringified JSON」或「 parsed JSON」 的对象,当作为「 stringified JSON」 传入时,会经过 ` JSON.parse ` 解析。
691
- - ` json-editor-vue ` : JSON 本身,所见即所得。
690
+ - ` svelte-jsoneditor ` : 一个包含 “ stringified JSON” 或 “ parsed JSON” 的对象,当作为 “ stringified JSON” 传入时,会经过 ` JSON.parse ` 解析。
691
+ - ` json-editor-vue ` : JSON 本身,所见即所得。
692
692
693
693
如果你更倾向于 ` svelte-jsoneditor ` 的行为:
694
694
@@ -700,7 +700,7 @@ export default {
700
700
/>
701
701
```
702
702
703
- > 详情见 https://github.com/josdejong/svelte-jsoneditor/pull/166 。
703
+ > 详情见 https://github.com/josdejong/svelte-jsoneditor/pull/166。
704
704
705
705
### 布尔类型参数
706
706
@@ -749,7 +749,7 @@ import JsonEditorVue from 'json-editor-vue'
749
749
750
750
## 更新日志
751
751
752
- 各版本详细改动请参考 [ release notes] ( https://github.com/cloydlau/json-editor-vue/releases ) 。
752
+ 各版本详细改动请参考 [ release notes] ( https://github.com/cloydlau/json-editor-vue/releases ) 。
753
753
754
754
<br >
755
755
0 commit comments