Skip to content

Commit 3a6127d

Browse files
committed
docs: simplify codes in the example
1 parent 18f778d commit 3a6127d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ Vue.use(JsonEditorVue, {
251251
<script src="https://unpkg.com/json-editor-vue@0.10"></script>
252252
<script>
253253
new Vue({
254-
components: { 'json-editor-vue': JsonEditorVue },
254+
components: { JsonEditorVue },
255255
data() {
256256
return {
257257
value: undefined,

docs/README.zh-CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ Vue.use(JsonEditorVue, {
249249
<script src="https://unpkg.com/json-editor-vue@0.10"></script>
250250
<script>
251251
new Vue({
252-
components: { 'json-editor-vue': JsonEditorVue },
252+
components: { JsonEditorVue },
253253
data() {
254254
return {
255255
value: undefined,

0 commit comments

Comments
 (0)