Skip to content

Commit

Permalink
docs: use proper component name
Browse files Browse the repository at this point in the history
  • Loading branch information
abiriadev committed Mar 18, 2024
1 parent 75a57ca commit 65eeb93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/playground.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ sidebar: false
import { defineAsyncComponent } from 'vue';
import { inBrowser } from 'vitepress';

const MonacoEditor = inBrowser ? defineAsyncComponent(() => import('./components/Editor.vue')) : () => null;
const Editor = inBrowser ? defineAsyncComponent(() => import('./components/Editor.vue')) : () => null;
</script>

<Editor width="600" height="800" />

0 comments on commit 65eeb93

Please sign in to comment.