Multi word component names. #678
Unanswered
bastiaan1321
asked this question in
Q&A
Replies: 2 comments 7 replies
-
You can use unplugin-vue-components or Nuxt auto-import feature and add the prefix to the component in order to have multi-word name component Sometimes it would be helpful if you break the eslint rules BTW can you name those components? |
Beta Was this translation helpful? Give feedback.
4 replies
-
So the solution is? It would be great if shadcn added "prefix" settings for components. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
According to the official vue 3 docs, we should use multi word component names. I have to add a bunch of ignores to my eslinter to be able to use it in my build. Is there a reason shadcn-vue is not using multi word names?
docs:
https://vuejs.org/style-guide/rules-essential.html#use-multi-word-component-names
Beta Was this translation helpful? Give feedback.
All reactions