Skip to content

Components with mixins are not rendering the props table correctly #152

@leandromatos

Description

@leandromatos

Version

@nuxtjs/storybook: 3.0.0
nuxt: 2.14.7

Reproduction Link

https://codesandbox.io/s/agitated-monad-x8qzw?file=/nuxt.config.js:258-274

Steps to reproduce

Just await the project starts

What is Expected?

In AwesomeButton, in the Props table, a property called "icon" should appear, which is inside the mixin used by the component.

What is actually happening?

Apparently, the configuration made for the addon @storybook/addon-docs inside nuxt.config.js is not working, as an error message appears in the terminal:

Neither '@/mixins/SomeMixin.vue' nor '@/mixins/SomeMixin.js(x)' or '@/mixins/SomeMixin/index.js(x)' or '@/mixins/SomeMixin/index.ts(x)' could be found in '/sandbox/components'

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions