Skip to content

Commit 7761488

Browse files
authored
option components error
it should be an Object, but got Array
1 parent 27b98a5 commit 7761488

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ This is recommended if you use other Vue components in your HTML page.
7373
<script>
7474
var app = new Vue({
7575
el: '#editor-container',
76-
components: [MarkdownPalettes],
76+
components: { MarkdownPalettes },
7777
data: () => { value: 'Hello, **Markdown*Palettes**!' }
7878
})
7979
</script>

0 commit comments

Comments
 (0)