From 3b38ee8ca5f8f5f2567718e7a2abd0cb72a4668f Mon Sep 17 00:00:00 2001
From: Cloyd Lau <31238760+cloydlau@users.noreply.github.com>
Date: Sun, 6 Oct 2024 13:41:26 +0800
Subject: [PATCH] docs: replace JSR version badge with scope badge
---
README.md | 28 +---------------------------
docs/README.zh-CN.md | 28 +---------------------------
2 files changed, 2 insertions(+), 54 deletions(-)
diff --git a/README.md b/README.md
index 5beebd1..03873a8 100644
--- a/README.md
+++ b/README.md
@@ -14,7 +14,7 @@
-
+
@@ -128,11 +128,7 @@ With Scope:
### Vue 3
```shell
-# npm
npm i json-editor-vue
-
-# jsr
-npx jsr add @cloydlau/json-editor-vue
```
#### Local Registration
@@ -250,11 +246,7 @@ createApp()
### Vue 2.7
```shell
-# npm
npm i json-editor-vue
-
-# jsr
-npx jsr add @cloydlau/json-editor-vue
```
#### Local Registration
@@ -370,12 +362,7 @@ Vue.use(JsonEditorVue, {
### Vue 2.6 or Earlier
```shell
-# npm
npm i @vue/composition-api json-editor-vue
-
-# jsr
-npm i @vue/composition-api
-npx jsr add @cloydlau/json-editor-vue
```
#### Local Registration
@@ -513,11 +500,7 @@ Vue.use(JsonEditorVue, {
### Nuxt 3
```shell
-# npm
npm i json-editor-vue
-
-# jsr
-npx jsr add @cloydlau/json-editor-vue
```
#### Local Registration
@@ -604,11 +587,7 @@ const value = ref()
### Nuxt 2 + Vue 2.7
```shell
-# npm
npm i json-editor-vue
-
-# jsr
-npx jsr add @cloydlau/json-editor-vue
```
#### Local Registration
@@ -710,12 +689,7 @@ const value = ref()
### Nuxt 2 + Vue 2.6 or Earlier
```shell
-# npm
npm i @vue/composition-api json-editor-vue
-
-# jsr
-npm i @vue/composition-api
-npx jsr add @cloydlau/json-editor-vue
```
#### Local Registration
diff --git a/docs/README.zh-CN.md b/docs/README.zh-CN.md
index a4a1927..8de9e59 100644
--- a/docs/README.zh-CN.md
+++ b/docs/README.zh-CN.md
@@ -14,7 +14,7 @@
-
+
@@ -126,11 +126,7 @@ npm rm json-editor-vue && npm i json-editor-vue
### Vue 3
```shell
-# npm
npm i json-editor-vue
-
-# jsr
-npx jsr add @cloydlau/json-editor-vue
```
#### 局部注册
@@ -248,11 +244,7 @@ createApp()
### Vue 2.7
```shell
-# npm
npm i json-editor-vue
-
-# jsr
-npx jsr add @cloydlau/json-editor-vue
```
#### 局部注册
@@ -368,12 +360,7 @@ Vue.use(JsonEditorVue, {
### Vue 2.6 或更早版本
```shell
-# npm
npm i @vue/composition-api json-editor-vue
-
-# jsr
-npm i @vue/composition-api
-npx jsr add @cloydlau/json-editor-vue
```
#### 局部注册
@@ -511,11 +498,7 @@ Vue.use(JsonEditorVue, {
### Nuxt 3
```shell
-# npm
npm i json-editor-vue
-
-# jsr
-npx jsr add @cloydlau/json-editor-vue
```
#### 局部注册
@@ -602,11 +585,7 @@ const value = ref()
### Nuxt 2 + Vue 2.7
```shell
-# npm
npm i json-editor-vue
-
-# jsr
-npx jsr add @cloydlau/json-editor-vue
```
#### 局部注册
@@ -708,12 +687,7 @@ const value = ref()
### Nuxt 2 + Vue 2.6 或更早版本
```shell
-# npm
npm i @vue/composition-api json-editor-vue
-
-# jsr
-npm i @vue/composition-api
-npx jsr add @cloydlau/json-editor-vue
```
#### 局部注册