|
14 | 14 | <a href="https://cloydlau.github.io/playground/json-editor-vue/"><img alt="playground" src="https://img.shields.io/badge/Playground-blue?color=9BE4E0&logo=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxZW0iIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxnIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzNiNDAzZiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjIiPjxwYXRoIGQ9Ik0xMiA1aDMuNWE1IDUgMCAwIDEgMCAxMEgxMGwtNC4wMTUgNC4yMjdhMi4zIDIuMyAwIDAgMS0zLjkyMy0yLjAzNWwxLjYzNC04LjE3M0E1IDUgMCAwIDEgOC42IDV6Ii8+PHBhdGggZD0ibTE0IDE1bDQuMDcgNC4yODRhMi4zIDIuMyAwIDAgMCAzLjkyNS0yLjAyM2wtMS42LTguMjMyTTggOXYybS0xLTFoMm01IDBoMiIvPjwvZz48L3N2Zz4="></a>
|
15 | 15 | <br>
|
16 | 16 | <a href="https://npmjs.com/package/json-editor-vue"><img alt="npm" src="https://img.shields.io/npm/v/json-editor-vue.svg?labelColor=cb3837&color=1C404E"></a>
|
17 |
| - <a href="https://jsr.io/@cloydlau/json-editor-vue"><img alt="jsr" src="https://jsr.io/badges/@cloydlau/json-editor-vue"></a> |
| 17 | + <a href="https://jsr.io/@cloydlau"><img alt="jsr" src="https://jsr.io/badges/@cloydlau"></a> |
18 | 18 | <br>
|
19 | 19 | <a href="https://github.com/cloydlau/json-editor-vue/actions/workflows/ci.yml"><img alt="build status" src="https://github.com/cloydlau/json-editor-vue/actions/workflows/ci.yml/badge.svg?branch=main"></a>
|
20 | 20 | <a href="https://bundlephobia.com/package/json-editor-vue"><img alt="minzipped size" src="https://img.shields.io/bundlephobia/minzip/json-editor-vue"></a>
|
@@ -126,11 +126,7 @@ npm rm json-editor-vue && npm i json-editor-vue
|
126 | 126 | ### Vue 3
|
127 | 127 |
|
128 | 128 | ```shell
|
129 |
| -# npm |
130 | 129 | npm i json-editor-vue
|
131 |
| - |
132 |
| -# jsr |
133 |
| -npx jsr add @cloydlau/json-editor-vue |
134 | 130 | ```
|
135 | 131 |
|
136 | 132 | #### 局部注册
|
@@ -248,11 +244,7 @@ createApp()
|
248 | 244 | ### Vue 2.7
|
249 | 245 |
|
250 | 246 | ```shell
|
251 |
| -# npm |
252 | 247 | npm i json-editor-vue
|
253 |
| - |
254 |
| -# jsr |
255 |
| -npx jsr add @cloydlau/json-editor-vue |
256 | 248 | ```
|
257 | 249 |
|
258 | 250 | #### 局部注册
|
@@ -368,12 +360,7 @@ Vue.use(JsonEditorVue, {
|
368 | 360 | ### Vue 2.6 或更早版本
|
369 | 361 |
|
370 | 362 | ```shell
|
371 |
| -# npm |
372 | 363 | npm i @vue/composition-api json-editor-vue
|
373 |
| - |
374 |
| -# jsr |
375 |
| -npm i @vue/composition-api |
376 |
| -npx jsr add @cloydlau/json-editor-vue |
377 | 364 | ```
|
378 | 365 |
|
379 | 366 | #### 局部注册
|
@@ -511,11 +498,7 @@ Vue.use(JsonEditorVue, {
|
511 | 498 | ### Nuxt 3
|
512 | 499 |
|
513 | 500 | ```shell
|
514 |
| -# npm |
515 | 501 | npm i json-editor-vue
|
516 |
| - |
517 |
| -# jsr |
518 |
| -npx jsr add @cloydlau/json-editor-vue |
519 | 502 | ```
|
520 | 503 |
|
521 | 504 | #### 局部注册
|
@@ -602,11 +585,7 @@ const value = ref()
|
602 | 585 | ### Nuxt 2 + Vue 2.7
|
603 | 586 |
|
604 | 587 | ```shell
|
605 |
| -# npm |
606 | 588 | npm i json-editor-vue
|
607 |
| - |
608 |
| -# jsr |
609 |
| -npx jsr add @cloydlau/json-editor-vue |
610 | 589 | ```
|
611 | 590 |
|
612 | 591 | #### 局部注册
|
@@ -708,12 +687,7 @@ const value = ref()
|
708 | 687 | ### Nuxt 2 + Vue 2.6 或更早版本
|
709 | 688 |
|
710 | 689 | ```shell
|
711 |
| -# npm |
712 | 690 | npm i @vue/composition-api json-editor-vue
|
713 |
| - |
714 |
| -# jsr |
715 |
| -npm i @vue/composition-api |
716 |
| -npx jsr add @cloydlau/json-editor-vue |
717 | 691 | ```
|
718 | 692 |
|
719 | 693 | #### 局部注册
|
|
0 commit comments