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

[Bug Report] Unknown html element v-btn, ... (since update vuetify) #4590

Open
PsySolix opened this Issue Jul 12, 2018 · 8 comments

Comments

Projects
None yet
4 participants
@PsySolix

PsySolix commented Jul 12, 2018

Versions and Environment

Vuetify: 1.1.4
Last working version: 1.0.13
Vue: 2.5.16
Browsers: Chrome 67.0.3396.99
OS: Mac OS 10.13.4

Steps to reproduce

Just open previous projects in Webstorm.

Expected Behavior

Same functionality as the other components (who are still in .js)

Actual Behavior

Webstorm open previous project -> all the components that are written in .ts files, aren't picked up by Webstorm.

Reproduction Link

Will try to setup jsfiddle later..
http://jsfiddle/

Other comments

It could be some configuration issue, but I don't think so.. Nothing changed except Vuetify version.

@KaelWD

This comment has been minimized.

Member

KaelWD commented Jul 12, 2018

Show how you're importing vuetify at least.

@KaelWD

This comment has been minimized.

Member

KaelWD commented Jul 12, 2018

Do you mean this? https://youtrack.jetbrains.com/issue/WEB-32886
We can't do anything about that afaik.

@KaelWD KaelWD closed this Jul 12, 2018

@KaelWD KaelWD added invalid and removed S: need reproduction labels Jul 12, 2018

@PsySolix

This comment has been minimized.

PsySolix commented Jul 12, 2018

Hey Kael, Sorry for the not so great issue explanation.
It is indeed the issue you linked!

Closing this issue and gonna follow up on that one, thanks for linking it!

@forresthopkinsa

This comment has been minimized.

forresthopkinsa commented Jul 14, 2018

Thanks @nekosaur for marking the dupe. Don't know how I didn't come across this in my search.

@jacekkarczmarczyk

This comment has been minimized.

Contributor

jacekkarczmarczyk commented Aug 20, 2018

I've just noticed - creating the following file somewhere in your project (no need to importit) removes the warning:

import Vue from 'vue';

Vue.component('v-alert', {});
Vue.component('v-app', {});
...
@forresthopkinsa

This comment has been minimized.

forresthopkinsa commented Aug 29, 2018

Fantastic workaround. Thanks @jacekkarczmarczyk !

@KaelWD

This comment has been minimized.

Member

KaelWD commented Sep 1, 2018

Great idea @jacekkarczmarczyk, we can probably generate that with https://github.com/vuetifyjs/api-generator. We could also include props too for even better inference than before.

@KaelWD KaelWD reopened this Sep 1, 2018

jacekkarczmarczyk added a commit to vuetifyjs/api-generator that referenced this issue Sep 6, 2018

@jacekkarczmarczyk

This comment has been minimized.

Contributor

jacekkarczmarczyk commented Sep 6, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment