File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -177,7 +177,7 @@ createApp()
177177 setup : () => ({
178178 value: ref (),
179179 }),
180- }).component ( ' json-editor-vue ' , JsonEditorVue)
180+ }).use ( JsonEditorVue)
181181 .mount (' #app' )
182182 </script >
183183</body >
@@ -421,7 +421,7 @@ Vue.use(JsonEditorVue, {
421421 })
422422
423423 app .use (VueCompositionAPI)
424- app .component ( ' json-editor-vue ' , JsonEditorVue)
424+ app .use ( JsonEditorVue)
425425 app .mount (' #app' )
426426 </script >
427427</body >
Original file line number Diff line number Diff line change @@ -175,7 +175,7 @@ createApp()
175175 setup : () => ({
176176 value: ref (),
177177 }),
178- }).component ( ' json-editor-vue ' , JsonEditorVue)
178+ }).use ( JsonEditorVue)
179179 .mount (' #app' )
180180 </script >
181181</body >
@@ -419,7 +419,7 @@ Vue.use(JsonEditorVue, {
419419 })
420420
421421 app .use (VueCompositionAPI)
422- app .component ( ' json-editor-vue ' , JsonEditorVue)
422+ app .use ( JsonEditorVue)
423423 app .mount (' #app' )
424424 </script >
425425</body >
You can’t perform that action at this time.
0 commit comments