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
fix(nuxt): ensure all dir parts are present in component name #20779
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great - thank you! ❤️
I've extracted your code into a separate helper function and wrote some unit tests to describe the behaviour I think we are expecting, and which isn't entirely working yet... What do you think?
@danielroe Thank you very much for your help. I think I misunderstood his rules and logic. Now I think we need to find the judgment condition and complete the prefixPart. |
I added some tests based on the bug(
Especially So I used |
🔗 Linked issue
❓ Type of change
📚 Description
close: #20613
📝 Checklist