Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for index.vue files as component #1

Merged
merged 1 commit into from
May 7, 2021

Conversation

IKuijer
Copy link

@IKuijer IKuijer commented May 7, 2021

Hey there, love the module you made. When I added it to my project I found a lot of components called 'index' because I use a file structure where I group related components together and use index.vue files as 'base' (sorta).

Example:

  • /components/Header/index.vue (< Header />)
  • /components/Header/Logo.vue (< Logo />)
  • /components/Header/Menu.vue (< Menu />)
  • etc.

I wrote a bit of code to use the folder name instead of 'index' for index.vue files.

Ps. this is my first fork/PR on a public repo so if could improve in some way please let me know :)

@acidjazz
Copy link
Member

acidjazz commented May 7, 2021

@IKuijer looks simple enough! thanks for the PR!

@acidjazz acidjazz merged commit 68f3218 into fumeapp:master May 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants