-
-
Notifications
You must be signed in to change notification settings - Fork 44
Closed
Description
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
vrtxims, pi0, cataline66, ThomOrlo, alvarosabu and 2 moreyaadata
Metadata
Metadata
Assignees
Labels
No labels