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

Going to definition or recognizing html tags in WebStorm/Intellij #135

Closed
gabrielcraveiro opened this issue Sep 5, 2021 · 4 comments
Closed

Comments

@gabrielcraveiro
Copy link

Hi, first I would like to thank you for the lib, been using for some weeks now and it really helps with the development flow.

I only have one issue, seeing prop definition or going to original component is not really that bad, but webstorm keeps warning me that the component is an "unknown html tag". Is there a way to recognize the components or even going to definition using the plugin?

Right now my vite.config is:

ViteComponents({
  customComponentResolvers: [
    ElementUiResolver(),
    ViteIconsResolver({
      componentPrefix: "",
    }),
  ],
}),

warning image

Thanks guys!

@gabrielcraveiro
Copy link
Author

Was searching more info and found this blog post in intelijj forum, seems like a webstorm issue.

https://youtrack.jetbrains.com/issue/WEB-48239

@antfu
Copy link
Member

antfu commented Sep 5, 2021

Then please keep track on their issue tracker, thanks.

@antfu antfu closed this as completed Sep 5, 2021
@acidjazz
Copy link

FYI Jetbrains has filed a separate issue for supporting this:

https://youtrack.jetbrains.com/issue/WEB-52214

Possible to leave this open until it's fixed @antfu ?

@acidjazz
Copy link

acidjazz commented Oct 13, 2021

Also if anyone wants a crack at this issue and can't wait @gabrielcraveiro, I've built something similar https://github.com/fumeapp/nuxt-storm

ascott18 pushed a commit to ascott18/unplugin-vue-components that referenced this issue Mar 4, 2023
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

No branches or pull requests

3 participants