Skip to content

does not work with components in folder format #23

@cataline66

Description

@cataline66

It is not working when component is an index.vue inside a folder.

example

├── src
│   └── components
│         └── ButtonStyled
│           └── index.vue
...

We don’t always want the component to be a file, but a folder, so that we can put other things inside regarding the component, for example, a spec.js or image.png of how the component will ultimately be, or anything else that we would like to share within the team, related to the component

solution:

behave the same as pages or old use components

pages/home/index.vue
or
components/ButtonStyled/index.vue
and vue knows that index.vue is the ButtonStyled component

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions