diff --git a/docs/api/options.md b/docs/api/options.md index 5f462949f..1707e78fb 100644 --- a/docs/api/options.md +++ b/docs/api/options.md @@ -47,16 +47,23 @@ Example: ```js import Foo from './Foo.vue' -import Bar from './Bar.vue' + +const bazComponent = { + name: 'baz-component', + template: '
baz
' +} const wrapper = shallowMount(Component, { slots: { - default: [Foo, Bar], + default: [Foo, '